Package com.atlassian.bamboo.cluster
Interface BambooClusterSettings
- All Known Implementing Classes:
BambooClusterSettingsImpl
@Internal
public interface BambooClusterSettings
This interface provides access to Bamboo's optimistic locking settings.
- Since:
- 9.4.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final SystemProperty.IntegerSystemProperty
static final SystemProperty.BooleanSystemProperty
static final SystemProperty.IntegerSystemProperty
static final SystemProperty.IntegerSystemProperty
static final SystemProperty.IntegerSystemProperty
static final SystemProperty.IntegerSystemProperty
static final SystemProperty.BooleanSystemProperty
static final SystemProperty.IntegerSystemProperty
static final SystemProperty.IntegerSystemProperty
static final SystemProperty
static final SystemProperty.IntegerSystemProperty
static final SystemProperty.IntegerSystemProperty
static final SystemProperty.IntegerSystemProperty
static final SystemProperty.IntegerSystemProperty
static final long
static final SystemProperty.IntegerSystemProperty
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks if Bamboo should be using optimistic locking.boolean
Checks if the node is ready to receive cross-node events.void
setReadyToReceiveCrossNodesEvents
(boolean ready) Sets the readiness state for receiving cross-node events.
-
Field Details
-
NODE_ALIVE_WATCHDOG_ENABLED
-
NODE_ALIVE_WATCHDOG_INTERVAL_IN_SECONDS
-
CLUSTER_HEARTBEAT_ALIVE_TIMEOUT_IN_SECONDS
-
CLUSTER_HEARTBEAT_JOB_INTERVAL_IN_SECONDS
-
OPTIMISTIC_LOCKING_MODE
-
PRIMARY_CLUSTER_LOCK_TIMEOUT_SECONDS
-
GRPC_SERVER_THREADS_NUMBER
-
CROSS_NODES_EVENTS_GRPC_CLIENT_THREADS_NUMBER
-
PEER_TO_PEER_GRPC_CLIENT_THREADS_NUMBER
-
PER_NODE_QUEUE_DISPATCHERS_THREADS_NUMBER
-
NUMBER_OF_PHYSICAL_QUEUES_UNDER_PER_NODE_QUEUE
-
PER_NODE_PHYSICAL_QUEUE_MAX_SIZE
-
PER_NODE_PHYSICAL_QUEUE_MAX_USED_BYTES
-
BAMBOO_CLUSTER_INFO_CACHE_TTL_SECONDS
-
PER_NODE_QUEUE_STATS_LOGGING_INTERVAL_MINUTES
static final long PER_NODE_QUEUE_STATS_LOGGING_INTERVAL_MINUTES -
CLUSTER_CONNECT_SECONDARY_ONLY_IF_GRPC_COMMUNICATION_IS_WORKING
static final SystemProperty.BooleanSystemProperty CLUSTER_CONNECT_SECONDARY_ONLY_IF_GRPC_COMMUNICATION_IS_WORKING
-
-
Method Details
-
isOptimisticLockingEnabled
boolean isOptimisticLockingEnabled()Checks if Bamboo should be using optimistic locking.- Returns:
- true if Bamboo should be using optimistic locking.
-
isReadyToReceiveCrossNodesEvents
boolean isReadyToReceiveCrossNodesEvents()Checks if the node is ready to receive cross-node events.- Returns:
- true if the node is ready to receive cross-node events, false otherwise.
-
setReadyToReceiveCrossNodesEvents
void setReadyToReceiveCrossNodesEvents(boolean ready) Sets the readiness state for receiving cross-node events.- Parameters:
ready
- true to mark the node as ready to receive cross-node events, false otherwise.
-