public class ClusterLockBootstrapServiceImpl extends com.atlassian.beehive.db.DatabaseClusterLockService implements ClusterLockBootstrapService
Modifier and Type | Field and Description |
---|---|
protected static String |
PRIMARY_NODE_LOCK_NAME |
Constructor and Description |
---|
ClusterLockBootstrapServiceImpl(@NotNull ClusterLockBootstrapDao clusterLockBootstrapDao,
@NotNull ClusterNodeHeartbeatBootstrapDao clusterNodeHeartbeatBootstrapDao,
@NotNull BambooClusterNodeHeartbeatService clusterNodeHeartbeatService,
@NotNull BambooClusterNodeProperties bambooClusterNodeProperties,
@NotNull BambooLicenseManager bambooLicenseManager) |
Modifier and Type | Method and Description |
---|---|
void |
acquirePrimaryNodeClusterLock()
Acquire primary node lock, or go into standby mode if the primary lock is held by an another node.
|
getAllKnownClusterLocks, getLockForName, getStatusesOfAllHeldClusterLocks, resetDatabaseState, shutdown
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
resetDatabaseState
protected static final String PRIMARY_NODE_LOCK_NAME
public ClusterLockBootstrapServiceImpl(@NotNull @NotNull ClusterLockBootstrapDao clusterLockBootstrapDao, @NotNull @NotNull ClusterNodeHeartbeatBootstrapDao clusterNodeHeartbeatBootstrapDao, @NotNull @NotNull BambooClusterNodeHeartbeatService clusterNodeHeartbeatService, @NotNull @NotNull BambooClusterNodeProperties bambooClusterNodeProperties, @NotNull @NotNull BambooLicenseManager bambooLicenseManager)
public void acquirePrimaryNodeClusterLock()
ClusterLockBootstrapService
acquirePrimaryNodeClusterLock
in interface ClusterLockBootstrapService
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.