public @interface DiscoveryServiceCentralConfig
Modifier and Type | Fields and Description |
---|---|
static int |
DEFAULT_BACKOFF_STABLE_FACTOR |
static int |
DEFAULT_BACKOFF_STANDBY_FACTOR |
static long |
DEFAULT_CLUSTER_SYNC_SERVICE_INTERVAL |
static long |
DEFAULT_CLUSTER_SYNC_SERVICE_TIMEOUT |
static long |
DEFAULT_DISCOVERY_LITE_CHECK_INTERVAL |
static String |
DEFAULT_DISCOVERY_RESOURCE_PATH |
static boolean |
DEFAULT_INVERT_LEADER_ELECTION_PREFIX_ORDER |
static long |
DEFAULT_JOINER_DELAY_SECONDS |
static long |
DEFAULT_LEADER_ELECTION_PREFIX |
static int |
DEFAULT_MIN_EVENT_DELAY |
static long |
DEFAULT_SHARED_KEY_INTERVAL
The default lifetime of a HMAC shared key in ms.
|
static int |
DEFAULT_SO_TIMEOUT |
static int |
DEFAULT_SOCKET_CONNECT_TIMEOUT |
static boolean |
DEFAULT_SUPPRESS_PARTIALLY_STARTED_INSTANCES |
static long |
DEFAULT_SUPPRESSION_TIMEOUT_SECONDS |
static long |
DEFAULT_TOPOLOGY_CONNECTOR_INTERVAL |
static long |
DEFAULT_TOPOLOGY_CONNECTOR_TIMEOUT |
static String[] |
DEFAULT_TOPOLOGY_CONNECTOR_WHITELIST |
static String |
JOINER_DELAY_ENABLED_SYSTEM_PROPERTY_NAME |
Modifier and Type | Optional Element and Description |
---|---|
boolean |
autoStopLocalLoopEnabled
If set to true, local-loops of topology connectors are automatically stopped when detected so.
|
int |
backoffStableFactor
The property for defining the maximum backoff factor for stable connectors
|
int |
backoffStandbyFactor
The property for defining the backoff factor for standby (loop) connectors
|
long |
clusterSyncServiceInterval |
long |
clusterSyncServiceTimeout |
long |
connectorPingInterval
Configure the interval (in seconds) according to which the heartbeats are exchanged in the topology.
|
long |
connectorPingTimeout
Configure the timeout (in seconds) after which an instance is considered dead/crashed.
|
long |
discoveryLiteCheckInterval |
String |
discoveryResourcePath
Path of resource where to keep discovery information, e.g /var/discovery/oak/
|
boolean |
enableEncryption
If set to true, and the whitelist is disabled, messages will be encrypted.
|
boolean |
enableSyncToken
If set to true a syncToken will be used on top of waiting for deactivating instances to be fully processed.
|
boolean |
gzipConnectorRequestsEnabled
If set to true, request body will be gzipped - only works if counter-part accepts gzip-requests!
|
boolean |
hmacEnabled
If set to true, hmac is enabled and the white list is disabled.
|
long |
hmacSharedKeyTTL |
boolean |
invertLeaderElectionPrefixOrder |
long |
joinerDelaySeconds |
long |
leaderElectionPrefix |
int |
minEventDelay
Configure the time (in seconds) which must be passed at minimum between sending TOPOLOGY_CHANGING/_CHANGED (avoid flooding).
|
String |
sharedKey
The value fo the shared key, shared amongst all instances in the same cluster.
|
int |
socketConnectTimeout
Configure the socket connect timeout for topology connectors.
|
int |
soTimeout
Configure the socket read timeout (SO_TIMEOUT) for topology connectors.
|
long |
suppressionTimeoutSeconds |
boolean |
suppressPartiallyStartedInstance |
String[] |
topologyConnectorUrls
URLs where to join a topology, eg http://localhost:4502/libs/sling/topology/connector
|
String[] |
topologyConnectorWhitelist
list of ips and/or hostnames which are allowed to connect to /libs/sling/topology/connector
|
public static final long DEFAULT_TOPOLOGY_CONNECTOR_TIMEOUT
public static final long DEFAULT_DISCOVERY_LITE_CHECK_INTERVAL
public static final long DEFAULT_CLUSTER_SYNC_SERVICE_INTERVAL
public static final String[] DEFAULT_TOPOLOGY_CONNECTOR_WHITELIST
public static final String DEFAULT_DISCOVERY_RESOURCE_PATH
public static final boolean DEFAULT_INVERT_LEADER_ELECTION_PREFIX_ORDER
public static final boolean DEFAULT_SUPPRESS_PARTIALLY_STARTED_INSTANCES
public static final String JOINER_DELAY_ENABLED_SYSTEM_PROPERTY_NAME
public static final long DEFAULT_SHARED_KEY_INTERVAL
public abstract long connectorPingTimeout
public abstract long connectorPingInterval
public abstract boolean enableSyncToken
public abstract int minEventDelay
public abstract int socketConnectTimeout
public abstract int soTimeout
public abstract String[] topologyConnectorUrls
public abstract String[] topologyConnectorWhitelist
public abstract String discoveryResourcePath
public abstract boolean autoStopLocalLoopEnabled
public abstract boolean gzipConnectorRequestsEnabled
public abstract boolean hmacEnabled
public abstract boolean enableEncryption
public abstract String sharedKey
public abstract int backoffStandbyFactor
public abstract int backoffStableFactor
public abstract boolean invertLeaderElectionPrefixOrder
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.