Skip navigation links
A B C D E G H I L M O P R S T U 

A

activate(Map<String, Object>) - Method in class org.apache.sling.discovery.oak.Config
 
activate(BundleContext) - Method in class org.apache.sling.discovery.oak.OakDiscoveryService
Activate this service
activate(BundleContext) - Method in class org.apache.sling.discovery.oak.TopologyWebConsolePlugin
 
announcementRegistry - Variable in class org.apache.sling.discovery.oak.pinger.OakViewChecker
 

B

bindPropertyProvider(PropertyProvider, Map<String, Object>) - Method in class org.apache.sling.discovery.oak.OakDiscoveryService
Bind a new property provider.
bindTopologyEventListener(TopologyEventListener) - Method in class org.apache.sling.discovery.oak.OakDiscoveryService
bind a topology event listener

C

checkForTopologyChange() - Method in class org.apache.sling.discovery.oak.OakDiscoveryService
Check the current topology for any potential change
CLUSTER_SYNC_SERVICE_INTERVAL_KEY - Static variable in class org.apache.sling.discovery.oak.Config
 
CLUSTER_SYNC_SERVICE_TIMEOUT_KEY - Static variable in class org.apache.sling.discovery.oak.Config
 
clusterSyncServiceInterval - Variable in class org.apache.sling.discovery.oak.Config
 
clusterSyncServiceTimeout - Variable in class org.apache.sling.discovery.oak.Config
 
Config - Class in org.apache.sling.discovery.oak
Configuration object used as a central config point for the discovery service implementation
Config() - Constructor for class org.apache.sling.discovery.oak.Config
 
configure(Map<String, Object>) - Method in class org.apache.sling.discovery.oak.Config
 
connectorPingInterval - Variable in class org.apache.sling.discovery.oak.Config
 
connectorPingTimeout - Variable in class org.apache.sling.discovery.oak.Config
 
connectorRegistry - Variable in class org.apache.sling.discovery.oak.pinger.OakViewChecker
 

D

deactivate() - Method in class org.apache.sling.discovery.oak.OakDiscoveryService
Deactivate this service
deactivate() - Method in class org.apache.sling.discovery.oak.pinger.OakViewChecker
 
deactivate() - Method in class org.apache.sling.discovery.oak.TopologyWebConsolePlugin
 
DEFAULT_CLUSTER_SYNC_SERVICE_INTERVAL - Static variable in class org.apache.sling.discovery.oak.Config
 
DEFAULT_CLUSTER_SYNC_SERVICE_TIMEOUT - Static variable in class org.apache.sling.discovery.oak.Config
 
DEFAULT_DISCOVERY_LITE_CHECK_INTERVAL - Static variable in class org.apache.sling.discovery.oak.Config
Configure the interval (in seconds) according to which the heartbeats are exchanged in the topology.
DEFAULT_MIN_EVENT_DELAY - Static variable in class org.apache.sling.discovery.oak.Config
Configure the time (in seconds) which must be passed at minimum between sending TOPOLOGY_CHANGING/_CHANGED (avoid flooding).
DEFAULT_SO_TIMEOUT - Static variable in class org.apache.sling.discovery.oak.Config
Configure the socket read timeout (SO_TIMEOUT) for topology connectors.
DEFAULT_SOCKET_CONNECT_TIMEOUT - Static variable in class org.apache.sling.discovery.oak.Config
Configure the socket connect timeout for topology connectors.
DEFAULT_TOPOLOGY_CONNECTOR_INTERVAL - Static variable in class org.apache.sling.discovery.oak.Config
Configure the interval (in seconds) according to which the heartbeats are exchanged in the topology.
DEFAULT_TOPOLOGY_CONNECTOR_TIMEOUT - Static variable in class org.apache.sling.discovery.oak.Config
Configure the timeout (in seconds) after which an instance is considered dead/crashed.
DISCOVERY_LITE_CHECK_INTERVAL_KEY - Static variable in class org.apache.sling.discovery.oak.Config
 
DISCOVERY_RESOURCE_PATH_KEY - Static variable in class org.apache.sling.discovery.oak.Config
 
discoveryLiteCheckInterval - Variable in class org.apache.sling.discovery.oak.Config
 
discoveryResourcePath - Variable in class org.apache.sling.discovery.oak.Config
 
doActivate() - Method in class org.apache.sling.discovery.oak.pinger.OakViewChecker
 
doCheckView() - Method in class org.apache.sling.discovery.oak.pinger.OakViewChecker
 

E

execute() - Method in class org.apache.sling.discovery.oak.SynchronizedClocksHealthCheck
 

G

getAnnouncementRegistry() - Method in class org.apache.sling.discovery.oak.OakDiscoveryService
 
getAnnouncementRegistry() - Method in class org.apache.sling.discovery.oak.pinger.OakViewChecker
 
getBackoffStableFactor() - Method in class org.apache.sling.discovery.oak.Config
Returns the (maximum) backoff factor to be used for stable connectors
getBackoffStandbyFactor() - Method in class org.apache.sling.discovery.oak.Config
Returns the backoff factor to be used for standby (loop) connectors
getBackoffStandbyInterval() - Method in class org.apache.sling.discovery.oak.Config
Returns the backoff interval for standby (loop) connectors in seconds
getClusterInstancesPath() - Method in class org.apache.sling.discovery.oak.Config
Returns the resource path where cluster instance informations are stored.
getClusterSyncServiceIntervalMillis() - Method in class org.apache.sling.discovery.oak.Config
 
getClusterSyncServiceTimeoutMillis() - Method in class org.apache.sling.discovery.oak.Config
 
getClusterViewService() - Method in class org.apache.sling.discovery.oak.OakDiscoveryService
 
getConnectorConfig() - Method in class org.apache.sling.discovery.oak.pinger.OakViewChecker
 
getConnectorPingInterval() - Method in class org.apache.sling.discovery.oak.Config
 
getConnectorPingTimeout() - Method in class org.apache.sling.discovery.oak.Config
 
getConnectorRegistry() - Method in class org.apache.sling.discovery.oak.pinger.OakViewChecker
 
getDiscoveryLiteCheckInterval() - Method in class org.apache.sling.discovery.oak.Config
 
getDiscoveryResourcePath() - Method in class org.apache.sling.discovery.oak.Config
 
getIdMapPath() - Method in class org.apache.sling.discovery.oak.Config
 
getKeyInterval() - Method in class org.apache.sling.discovery.oak.Config
 
getLabel() - Method in class org.apache.sling.discovery.oak.TopologyWebConsolePlugin
 
getLeaderElectionPrefix() - Method in class org.apache.sling.discovery.oak.Config
 
getLocalClusterView() - Method in class org.apache.sling.discovery.oak.cluster.OakClusterViewService
 
getMinEventDelay() - Method in class org.apache.sling.discovery.oak.Config
Returns the minimum time (in seconds) between sending TOPOLOGY_CHANGING/_CHANGED events - to avoid flooding
getResourceResolver() - Method in class org.apache.sling.discovery.oak.cluster.OakClusterViewService
 
getResourceResolver() - Method in class org.apache.sling.discovery.oak.TopologyWebConsolePlugin
 
getResourceResolverFactory() - Method in class org.apache.sling.discovery.oak.pinger.OakViewChecker
 
getScheduler() - Method in class org.apache.sling.discovery.oak.pinger.OakViewChecker
 
getSharedKey() - Method in class org.apache.sling.discovery.oak.Config
 
getSlingId() - Method in class org.apache.sling.discovery.oak.cluster.OakClusterViewService
 
getSlingSettingsService() - Method in class org.apache.sling.discovery.oak.pinger.OakViewChecker
 
getSocketConnectTimeout() - Method in class org.apache.sling.discovery.oak.Config
Returns the socket connect() timeout used by the topology connector, 0 disables the timeout
getSoTimeout() - Method in class org.apache.sling.discovery.oak.Config
Returns the socket read timeout (SO_TIMEOUT) used by the topology connector, 0 disables the timeout
getSyncTokenEnabled() - Method in class org.apache.sling.discovery.oak.Config
 
getSyncTokenPath() - Method in class org.apache.sling.discovery.oak.Config
 
getTitle() - Method in class org.apache.sling.discovery.oak.TopologyWebConsolePlugin
 
getTopologyConnectorURLs() - Method in class org.apache.sling.discovery.oak.Config
Returns the URLs to which to open a topology connector - or null/empty if no topology connector is configured (default is null)
getTopologyConnectorWhitelist() - Method in class org.apache.sling.discovery.oak.Config
Returns a comma separated list of hostnames and/or ip addresses which are allowed as remote hosts to open connections to the topology connector servlet
getViewStateManager() - Method in class org.apache.sling.discovery.oak.OakDiscoveryService
for testing only

H

handleIsolatedFromTopology() - Method in class org.apache.sling.discovery.oak.OakDiscoveryService
 
handleTopologyChanging() - Method in class org.apache.sling.discovery.oak.OakDiscoveryService
Handle the fact that the topology has started to change - inform the listeners asap
handleTopologyEvent(TopologyEvent) - Method in class org.apache.sling.discovery.oak.TopologyWebConsolePlugin
keep a truncated history of the log events for information purpose (to be shown in the webconsole)

I

initialize(OakDiscoveryService) - Method in class org.apache.sling.discovery.oak.pinger.OakViewChecker
The initialize method is called by the OakDiscoveryService.activate as we require the discoveryService (and the discoveryService has a reference on us - but we cant have circular references in osgi).
invertLeaderElectionPrefixOrder - Variable in class org.apache.sling.discovery.oak.Config
 
isAutoStopLocalLoopEnabled() - Method in class org.apache.sling.discovery.oak.Config
 
isEncryptionEnabled() - Method in class org.apache.sling.discovery.oak.Config
 
isGzipConnectorRequestsEnabled() - Method in class org.apache.sling.discovery.oak.Config
 
isHmacEnabled() - Method in class org.apache.sling.discovery.oak.Config
 
isInvertLeaderElectionPrefixOrder() - Method in class org.apache.sling.discovery.oak.Config
 

L

LABEL - Static variable in class org.apache.sling.discovery.oak.TopologyWebConsolePlugin
 
leaderElectionPrefix - Variable in class org.apache.sling.discovery.oak.Config
 
logger - Variable in class org.apache.sling.discovery.oak.SynchronizedClocksHealthCheck
 

M

MIN_EVENT_DELAY_KEY - Static variable in class org.apache.sling.discovery.oak.Config
 
minEventDelay - Variable in class org.apache.sling.discovery.oak.Config
 

O

OakClusterViewService - Class in org.apache.sling.discovery.oak.cluster
Oak-based implementation of the ClusterViewService interface.
OakClusterViewService() - Constructor for class org.apache.sling.discovery.oak.cluster.OakClusterViewService
 
OakDiscoveryService - Class in org.apache.sling.discovery.oak
This implementation of the cross-cluster service uses the view manager implementation for detecting changes in a cluster and only supports one cluster (of which this instance is part of).
OakDiscoveryService() - Constructor for class org.apache.sling.discovery.oak.OakDiscoveryService
 
OakViewChecker - Class in org.apache.sling.discovery.oak.pinger
The OakViewChecker is taking care of checking the oak discovery-lite descriptor when checking the local cluster view and passing that on to the ViewStateManager which will then detect whether there was any change or not.
OakViewChecker() - Constructor for class org.apache.sling.discovery.oak.pinger.OakViewChecker
 
org.apache.sling.discovery.oak - package org.apache.sling.discovery.oak
 
org.apache.sling.discovery.oak.cluster - package org.apache.sling.discovery.oak.cluster
 
org.apache.sling.discovery.oak.pinger - package org.apache.sling.discovery.oak.pinger
 

P

periodicCheckViewJob - Variable in class org.apache.sling.discovery.oak.pinger.OakViewChecker
 
printConfiguration(PrintWriter) - Method in class org.apache.sling.discovery.oak.TopologyWebConsolePlugin
 

R

renderContent(HttpServletRequest, HttpServletResponse) - Method in class org.apache.sling.discovery.oak.TopologyWebConsolePlugin
 
resetLeaderElectionId() - Method in class org.apache.sling.discovery.oak.pinger.OakViewChecker
Hook that will cause a reset of the leaderElectionId on next invocation of issueClusterLocalHeartbeat.
resourceResolverFactory - Variable in class org.apache.sling.discovery.oak.pinger.OakViewChecker
 
resourceResolverFactory - Variable in class org.apache.sling.discovery.oak.TopologyWebConsolePlugin
 

S

scheduler - Variable in class org.apache.sling.discovery.oak.pinger.OakViewChecker
 
slingSettingsService - Variable in class org.apache.sling.discovery.oak.pinger.OakViewChecker
 
SO_TIMEOUT_KEY - Static variable in class org.apache.sling.discovery.oak.Config
 
SOCKET_CONNECT_TIMEOUT_KEY - Static variable in class org.apache.sling.discovery.oak.Config
 
SynchronizedClocksHealthCheck - Class in org.apache.sling.discovery.oak
HealthCheck that builds on-top of DocumentNodeStore's determineServerTimeDifferenceMillis method which checks how much the local time differs from the DocumentStore's time.
SynchronizedClocksHealthCheck() - Constructor for class org.apache.sling.discovery.oak.SynchronizedClocksHealthCheck
 

T

testConstructor(SlingSettingsService, ResourceResolverFactory, IdMapService, Config) - Static method in class org.apache.sling.discovery.oak.cluster.OakClusterViewService
 
testConstructor(SlingSettingsService, AnnouncementRegistry, ConnectorRegistry, ClusterViewService, Config, OakViewChecker, Scheduler, IdMapService, OakBacklogClusterSyncService, SyncTokenService, ResourceResolverFactory) - Static method in class org.apache.sling.discovery.oak.OakDiscoveryService
 
testConstructor(SlingSettingsService, ResourceResolverFactory, ConnectorRegistry, AnnouncementRegistry, Scheduler, Config) - Static method in class org.apache.sling.discovery.oak.pinger.OakViewChecker
for testing only
TITLE - Static variable in class org.apache.sling.discovery.oak.TopologyWebConsolePlugin
 
TOPOLOGY_CONNECTOR_INTERVAL_KEY - Static variable in class org.apache.sling.discovery.oak.Config
 
TOPOLOGY_CONNECTOR_TIMEOUT_KEY - Static variable in class org.apache.sling.discovery.oak.Config
 
TOPOLOGY_CONNECTOR_URLS_KEY - Static variable in class org.apache.sling.discovery.oak.Config
URLs where to join a topology, eg http://localhost:4502/libs/sling/topology/connector
TOPOLOGY_CONNECTOR_WHITELIST_KEY - Static variable in class org.apache.sling.discovery.oak.Config
 
topologyConnectorWhitelist - Variable in class org.apache.sling.discovery.oak.Config
 
TopologyWebConsolePlugin - Class in org.apache.sling.discovery.oak
Simple webconsole which gives an overview of the topology visible by the discovery service
TopologyWebConsolePlugin() - Constructor for class org.apache.sling.discovery.oak.TopologyWebConsolePlugin
 

U

unbindPropertyProvider(PropertyProvider, Map<String, Object>) - Method in class org.apache.sling.discovery.oak.OakDiscoveryService
Unbind a property provider
unbindTopologyEventListener(TopologyEventListener) - Method in class org.apache.sling.discovery.oak.OakDiscoveryService
Unbind a topology event listener
updatedPropertyProvider(PropertyProvider, Map<String, Object>) - Method in class org.apache.sling.discovery.oak.OakDiscoveryService
Update a property provider.
updateProperties() - Method in class org.apache.sling.discovery.oak.OakDiscoveryService
Update the properties and sent a topology event if applicable
updateProperties() - Method in class org.apache.sling.discovery.oak.pinger.OakViewChecker
 
A B C D E G H I L M O P R S T U 
Skip navigation links

Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.