Package com.atlassian.beehive.simple
Class SimpleClusterLockService
java.lang.Object
com.atlassian.beehive.simple.SimpleClusterLockService
- All Implemented Interfaces:
ClusterLockService,ManagedClusterLockService
Simple implementation of ClusterLockService that works for a single node application.
Certain cross product libraries (eg SAL and AO) will depend on having an implementation of ClusterLockService, and this one can used by applications that only run as a single node.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<com.atlassian.beehive.simple.SingleNodeLock>getLockForName(String lockName)
-
Constructor Details
-
SimpleClusterLockService
public SimpleClusterLockService()
-
-
Method Details
-
getAllKnownClusterLocks
- Specified by:
getAllKnownClusterLocksin interfaceManagedClusterLockService
-
getStatusesOfAllHeldClusterLocks
- Specified by:
getStatusesOfAllHeldClusterLocksin interfaceManagedClusterLockService
-
getLockForName
- Specified by:
getLockForNamein interfaceClusterLockService
-