com.atlassian.jira.cluster.lock
Class JiraClusterLockDao
java.lang.Object
com.atlassian.jira.cluster.lock.JiraClusterLockDao
- All Implemented Interfaces:
- com.atlassian.beehive.spi.ClusterLockDao
public class JiraClusterLockDao
- extends Object
- implements com.atlassian.beehive.spi.ClusterLockDao
JIRA implementation of the ClusterLockDao from the beehive clustering library.
- Since:
- 6.3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JiraClusterLockDao
public JiraClusterLockDao(EntityEngine entityEngine)
getClusterLockStatusByName
@Nullable
public com.atlassian.beehive.spi.ClusterLockStatus getClusterLockStatusByName(@Nonnull
String lockName)
- Specified by:
getClusterLockStatusByName
in interface com.atlassian.beehive.spi.ClusterLockDao
tryUpdateAcquireLock
public boolean tryUpdateAcquireLock(@Nonnull
String lockName,
@Nonnull
String nodeId)
- Specified by:
tryUpdateAcquireLock
in interface com.atlassian.beehive.spi.ClusterLockDao
insertEmptyClusterLock
public void insertEmptyClusterLock(@Nonnull
String lockName)
- Specified by:
insertEmptyClusterLock
in interface com.atlassian.beehive.spi.ClusterLockDao
unlock
public void unlock(@Nonnull
String lockName,
@Nonnull
String nodeId)
- Specified by:
unlock
in interface com.atlassian.beehive.spi.ClusterLockDao
deleteLocksHeldByNode
public void deleteLocksHeldByNode(String nodeId)
- Specified by:
deleteLocksHeldByNode
in interface com.atlassian.beehive.spi.ClusterLockDao
Copyright © 2002-2014 Atlassian. All Rights Reserved.