Package org.apache.sling.discovery.oak
Annotation Type DiscoveryServiceCentralConfig
-
public @interface DiscoveryServiceCentralConfig
-
-
Field Summary
Fields Modifier and Type Fields Description static intDEFAULT_BACKOFF_STABLE_FACTORstatic intDEFAULT_BACKOFF_STANDBY_FACTORstatic longDEFAULT_CLUSTER_SYNC_SERVICE_INTERVALstatic longDEFAULT_CLUSTER_SYNC_SERVICE_TIMEOUTstatic longDEFAULT_DISCOVERY_LITE_CHECK_INTERVALstatic StringDEFAULT_DISCOVERY_RESOURCE_PATHstatic booleanDEFAULT_INVERT_LEADER_ELECTION_PREFIX_ORDERstatic longDEFAULT_JOINER_DELAY_SECONDSstatic longDEFAULT_LEADER_ELECTION_PREFIXstatic intDEFAULT_MIN_EVENT_DELAYstatic longDEFAULT_SHARED_KEY_INTERVALThe default lifetime of a HMAC shared key in ms.static intDEFAULT_SO_TIMEOUTstatic intDEFAULT_SOCKET_CONNECT_TIMEOUTstatic booleanDEFAULT_SUPPRESS_PARTIALLY_STARTED_INSTANCESstatic longDEFAULT_SUPPRESSION_TIMEOUT_SECONDSstatic longDEFAULT_TOPOLOGY_CONNECTOR_INTERVALstatic longDEFAULT_TOPOLOGY_CONNECTOR_TIMEOUTstatic String[]DEFAULT_TOPOLOGY_CONNECTOR_WHITELISTstatic StringJOINER_DELAY_ENABLED_SYSTEM_PROPERTY_NAME
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanautoStopLocalLoopEnabledIf set to true, local-loops of topology connectors are automatically stopped when detected so.intbackoffStableFactorThe property for defining the maximum backoff factor for stable connectorsintbackoffStandbyFactorThe property for defining the backoff factor for standby (loop) connectorslongclusterSyncServiceIntervallongclusterSyncServiceTimeoutlongconnectorPingIntervalConfigure the interval (in seconds) according to which the heartbeats are exchanged in the topology.longconnectorPingTimeoutConfigure the timeout (in seconds) after which an instance is considered dead/crashed.longdiscoveryLiteCheckIntervalStringdiscoveryResourcePathPath of resource where to keep discovery information, e.g /var/discovery/oak/booleanenableEncryptionIf set to true, and the whitelist is disabled, messages will be encrypted.booleanenableSyncTokenIf set to true a syncToken will be used on top of waiting for deactivating instances to be fully processed.booleangzipConnectorRequestsEnabledIf set to true, request body will be gzipped - only works if counter-part accepts gzip-requests!booleanhmacEnabledIf set to true, hmac is enabled and the white list is disabled.longhmacSharedKeyTTLbooleaninvertLeaderElectionPrefixOrderlongjoinerDelaySecondslongleaderElectionPrefixintminEventDelayConfigure the time (in seconds) which must be passed at minimum between sending TOPOLOGY_CHANGING/_CHANGED (avoid flooding).StringsharedKeyThe value fo the shared key, shared amongst all instances in the same cluster.intsocketConnectTimeoutConfigure the socket connect timeout for topology connectors.intsoTimeoutConfigure the socket read timeout (SO_TIMEOUT) for topology connectors.longsuppressionTimeoutSecondsbooleansuppressPartiallyStartedInstanceString[]topologyConnectorUrlsURLs where to join a topology, eg http://localhost:4502/libs/sling/topology/connectorString[]topologyConnectorWhitelistlist of ips and/or hostnames which are allowed to connect to /libs/sling/topology/connector
-
-
-
-
DEFAULT_TOPOLOGY_CONNECTOR_WHITELIST
static final String[] DEFAULT_TOPOLOGY_CONNECTOR_WHITELIST
-
-
-
DEFAULT_DISCOVERY_RESOURCE_PATH
static final String DEFAULT_DISCOVERY_RESOURCE_PATH
-
-
-
JOINER_DELAY_ENABLED_SYSTEM_PROPERTY_NAME
static final String JOINER_DELAY_ENABLED_SYSTEM_PROPERTY_NAME
-
-
-
topologyConnectorUrls
String[] topologyConnectorUrls
URLs where to join a topology, eg http://localhost:4502/libs/sling/topology/connector- Default:
- {}
-
-
-
topologyConnectorWhitelist
String[] topologyConnectorWhitelist
list of ips and/or hostnames which are allowed to connect to /libs/sling/topology/connector- Default:
- {"localhost", "127.0.0.1"}
-
-
-
discoveryResourcePath
String discoveryResourcePath
Path of resource where to keep discovery information, e.g /var/discovery/oak/- Default:
- "/var/discovery/oak/"
-
-
-
sharedKey
String sharedKey
The value fo the shared key, shared amongst all instances in the same cluster.- Default:
- ""
-
-