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

A

activate() - Method in class org.apache.sling.discovery.oak.cluster.OakClusterViewService
 
activate(BundleContext, DiscoveryServiceCentralConfig) - 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

cancelSync() - Method in class org.apache.sling.discovery.oak.JoinerDelay
 
checkForTopologyChange() - Method in class org.apache.sling.discovery.oak.OakDiscoveryService
Check the current topology for any potential change
ClusterReader - Class in org.apache.sling.discovery.oak.cluster
Helper class to detect instances that are only partially started.
ClusterReader(ResourceResolver, Config, IdMapService, Map<Integer, InstanceInfo>) - Constructor for class org.apache.sling.discovery.oak.cluster.ClusterReader
 
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(DiscoveryServiceCentralConfig) - 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_BACKOFF_STABLE_FACTOR - Static variable in annotation type org.apache.sling.discovery.oak.DiscoveryServiceCentralConfig
 
DEFAULT_BACKOFF_STANDBY_FACTOR - Static variable in annotation type org.apache.sling.discovery.oak.DiscoveryServiceCentralConfig
 
DEFAULT_CLUSTER_SYNC_SERVICE_INTERVAL - Static variable in annotation type org.apache.sling.discovery.oak.DiscoveryServiceCentralConfig
 
DEFAULT_CLUSTER_SYNC_SERVICE_TIMEOUT - Static variable in annotation type org.apache.sling.discovery.oak.DiscoveryServiceCentralConfig
 
DEFAULT_DISCOVERY_LITE_CHECK_INTERVAL - Static variable in annotation type org.apache.sling.discovery.oak.DiscoveryServiceCentralConfig
 
DEFAULT_DISCOVERY_RESOURCE_PATH - Static variable in annotation type org.apache.sling.discovery.oak.DiscoveryServiceCentralConfig
 
DEFAULT_INVERT_LEADER_ELECTION_PREFIX_ORDER - Static variable in annotation type org.apache.sling.discovery.oak.DiscoveryServiceCentralConfig
 
DEFAULT_JOINER_DELAY_SECONDS - Static variable in annotation type org.apache.sling.discovery.oak.DiscoveryServiceCentralConfig
 
DEFAULT_LEADER_ELECTION_PREFIX - Static variable in annotation type org.apache.sling.discovery.oak.DiscoveryServiceCentralConfig
 
DEFAULT_MIN_EVENT_DELAY - Static variable in annotation type org.apache.sling.discovery.oak.DiscoveryServiceCentralConfig
 
DEFAULT_SHARED_KEY_INTERVAL - Static variable in annotation type org.apache.sling.discovery.oak.DiscoveryServiceCentralConfig
The default lifetime of a HMAC shared key in ms.
DEFAULT_SO_TIMEOUT - Static variable in annotation type org.apache.sling.discovery.oak.DiscoveryServiceCentralConfig
 
DEFAULT_SOCKET_CONNECT_TIMEOUT - Static variable in annotation type org.apache.sling.discovery.oak.DiscoveryServiceCentralConfig
 
DEFAULT_SUPPRESS_PARTIALLY_STARTED_INSTANCES - Static variable in annotation type org.apache.sling.discovery.oak.DiscoveryServiceCentralConfig
 
DEFAULT_SUPPRESSION_TIMEOUT_SECONDS - Static variable in annotation type org.apache.sling.discovery.oak.DiscoveryServiceCentralConfig
 
DEFAULT_TOPOLOGY_CONNECTOR_INTERVAL - Static variable in annotation type org.apache.sling.discovery.oak.DiscoveryServiceCentralConfig
 
DEFAULT_TOPOLOGY_CONNECTOR_TIMEOUT - Static variable in annotation type org.apache.sling.discovery.oak.DiscoveryServiceCentralConfig
 
DEFAULT_TOPOLOGY_CONNECTOR_WHITELIST - Static variable in annotation type org.apache.sling.discovery.oak.DiscoveryServiceCentralConfig
 
discoveryLiteCheckInterval - Variable in class org.apache.sling.discovery.oak.Config
 
discoveryResourcePath - Variable in class org.apache.sling.discovery.oak.Config
 
DiscoveryServiceCentralConfig - Annotation Type in org.apache.sling.discovery.oak
 
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
 

F

fromErrorMsg(String) - Static method in class org.apache.sling.discovery.oak.cluster.InstanceReadResult
 
fromInstance(InstanceInfo) - Static method in class org.apache.sling.discovery.oak.cluster.InstanceReadResult
 

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.
getClusterNodeId() - Method in class org.apache.sling.discovery.oak.cluster.InstanceInfo
 
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
 
getErrorMsg() - Method in class org.apache.sling.discovery.oak.cluster.InstanceReadResult
 
getIdMapPath() - Method in class org.apache.sling.discovery.oak.Config
 
getInstanceInfo() - Method in class org.apache.sling.discovery.oak.cluster.InstanceReadResult
 
getJoinerDelayMillis() - 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
 
getLeaderElectionId() - Method in class org.apache.sling.discovery.oak.cluster.InstanceInfo
 
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.InstanceInfo
 
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
getSuppressionTimeoutSeconds() - Method in class org.apache.sling.discovery.oak.Config
 
getSuppressPartiallyStartedInstances() - Method in class org.apache.sling.discovery.oak.Config
 
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).
InstanceInfo - Class in org.apache.sling.discovery.oak.cluster
Data object containing all infos about a particular Sling instance
InstanceInfo(int, String, long, String) - Constructor for class org.apache.sling.discovery.oak.cluster.InstanceInfo
 
InstanceReadResult - Class in org.apache.sling.discovery.oak.cluster
Contains the outcome of reading an InstanceInfo
InstanceReadResult(InstanceInfo, String) - Constructor for class org.apache.sling.discovery.oak.cluster.InstanceReadResult
 
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
 
isSyncTokenNewerOrEqual(long) - Method in class org.apache.sling.discovery.oak.cluster.InstanceInfo
 

J

JOINER_DELAY_ENABLED_SYSTEM_PROPERTY_NAME - Static variable in annotation type org.apache.sling.discovery.oak.DiscoveryServiceCentralConfig
 
JoinerDelay - Class in org.apache.sling.discovery.oak
The JoinerDelay is an ClusterSyncService used in the sync chain and got introduced as part of SLING-10489.
JoinerDelay(long, Scheduler) - Constructor for class org.apache.sling.discovery.oak.JoinerDelay
 
joinerDelaySeconds - Variable 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

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

readInstance(int, boolean, long) - Method in class org.apache.sling.discovery.oak.cluster.ClusterReader
Reads all discovery.oak related data for clusterNodeId and fills the internal structure with the resulting info - or remembers that the clusterNode was incomplete (partially started)
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
 
suppressionTimeoutSeconds - Variable in class org.apache.sling.discovery.oak.Config
 
suppressPartiallyStartedInstance - Variable in class org.apache.sling.discovery.oak.Config
 
sync(BaseTopologyView, Runnable) - Method in class org.apache.sling.discovery.oak.JoinerDelay
 
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
 
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
 
toString() - Method in class org.apache.sling.discovery.oak.cluster.InstanceInfo
 

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 F G H I J L M O P R S T U 
Skip navigation links

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