@Internal
public interface ClusterLockBootstrapDao
extends com.atlassian.beehive.db.spi.ClusterLockDao
ClusterLockDao
.Modifier and Type | Method and Description |
---|---|
void |
ensureClusterLockTableExists()
Creates lock table if required.
|
boolean |
tryUpdateAcquireNodeScopedLock(String lockName,
String nodeId,
long updateTime)
Try to acquire an existing lock for the given node.
|
void ensureClusterLockTableExists()
boolean tryUpdateAcquireNodeScopedLock(@NotNull String lockName, @NotNull String nodeId, long updateTime)
ClusterLockDao.tryUpdateAcquireLock(java.lang.String, java.lang.String, long)
lockName
- name of the lock to acquirenodeId
- this node idupdateTime
- time (in milliseconds) at which this update is madeCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.