Package com.atlassian.bamboo.cluster
Class BambooClusterSettingsImpl
java.lang.Object
com.atlassian.bamboo.cluster.BambooClusterSettingsImpl
- All Implemented Interfaces:
BambooClusterSettings
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.cluster.BambooClusterSettings
BAMBOO_CLUSTER_INFO_CACHE_TTL_SECONDS, CLUSTER_HEARTBEAT_ALIVE_TIMEOUT_IN_SECONDS, CLUSTER_HEARTBEAT_JOB_INTERVAL_IN_SECONDS, CROSS_NODES_EVENTS_GRPC_CLIENT_THREADS_NUMBER, GRPC_SERVER_THREADS_NUMBER, NODE_ALIVE_WATCHDOG_ENABLED, NODE_ALIVE_WATCHDOG_INTERVAL_IN_SECONDS, NUMBER_OF_PHYSICAL_QUEUES_UNDER_PER_NODE_QUEUE, OPTIMISTIC_LOCKING_MODE, PEER_TO_PEER_GRPC_CLIENT_THREADS_NUMBER, PER_NODE_PHYSICAL_QUEUE_MAX_SIZE, PER_NODE_PHYSICAL_QUEUE_MAX_USED_BYTES, PER_NODE_QUEUE_DISPATCHERS_THREADS_NUMBER, PER_NODE_QUEUE_STATS_LOGGING_INTERVAL_MINUTES, PRIMARY_CLUSTER_LOCK_TIMEOUT_SECONDS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Optional<BambooClusterNodeHeartbeatService>
boolean
boolean
void
setReadyToReceiveCrossNodesEvents
(boolean ready)
-
Constructor Details
-
BambooClusterSettingsImpl
public BambooClusterSettingsImpl()
-
-
Method Details
-
getBambooClusterNodeHeartbeatService
-
isOptimisticLockingEnabled
public boolean isOptimisticLockingEnabled()- Specified by:
isOptimisticLockingEnabled
in interfaceBambooClusterSettings
- Returns:
- true if Bamboo should be using optimistic locking.
-
isReadyToReceiveCrossNodesEvents
public boolean isReadyToReceiveCrossNodesEvents()- Specified by:
isReadyToReceiveCrossNodesEvents
in interfaceBambooClusterSettings
-
setReadyToReceiveCrossNodesEvents
public void setReadyToReceiveCrossNodesEvents(boolean ready) - Specified by:
setReadyToReceiveCrossNodesEvents
in interfaceBambooClusterSettings
-