Package com.atlassian.bamboo.cluster
Class BambooClusterSettingsImpl
- java.lang.Object
-
- com.atlassian.bamboo.cluster.BambooClusterSettingsImpl
-
- All Implemented Interfaces:
BambooClusterSettings
public class BambooClusterSettingsImpl extends Object implements 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
Constructors Constructor Description BambooClusterSettingsImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Optional<BambooClusterNodeHeartbeatService>
getBambooClusterNodeHeartbeatService()
boolean
isOptimisticLockingEnabled()
boolean
isReadyToReceiveCrossNodesEvents()
void
setReadyToReceiveCrossNodesEvents(boolean ready)
-
-
-
Method Detail
-
getBambooClusterNodeHeartbeatService
protected Optional<BambooClusterNodeHeartbeatService> 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
-
-