com.atlassian.beehive.hazelcast
Class HazelcastClusterLockService
java.lang.Object
com.atlassian.beehive.hazelcast.HazelcastClusterLockService
- All Implemented Interfaces:
- ClusterLockService
public class HazelcastClusterLockService
- extends Object
- implements ClusterLockService
Hazelcast implementation of ClusterLockService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HazelcastClusterLockService
public HazelcastClusterLockService(com.hazelcast.core.HazelcastInstance hazelcast)
getLockForName
public ClusterLock getLockForName(@Nonnull
String lockName)
- Description copied from interface:
ClusterLockService
- Returns the cluster-wide lock for the given name.
- Specified by:
getLockForName in interface ClusterLockService
- Parameters:
lockName - the globally unique lock identifier
- Returns:
- the cluster-wide lock for the given name.
Copyright © 2014 Atlassian. All Rights Reserved.