Interface ClusteredSingletonLookup
-
- All Known Implementing Classes:
ClusteredSingletonLookupImpl,ClusteredSingletonLookupImpl,ClusteredSingletonLookupImplBase
public interface ClusteredSingletonLookupCommon methods for Clustered Singletons Both CDI and EJB implementations use these methods- Author:
- lprimak
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classClusteredSingletonLookup.SingletonType
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddestroy()destroys usage count and distributed lock objectsStringgetClusteredSessionKey()com.hazelcast.map.IMap<String,Object>getClusteredSingletonMap()com.hazelcast.cp.IAtomicLonggetClusteredUsageCount()com.hazelcast.cp.lock.FencedLockgetDistributedLock()HazelcastCoregetHazelcastCore()booleanisClusteredEnabled()booleanisDistributedLockEnabled()
-
-
-
Method Detail
-
getDistributedLock
com.hazelcast.cp.lock.FencedLock getDistributedLock()
-
isDistributedLockEnabled
boolean isDistributedLockEnabled()
-
getClusteredSessionKey
String getClusteredSessionKey()
-
isClusteredEnabled
boolean isClusteredEnabled()
-
getClusteredUsageCount
com.hazelcast.cp.IAtomicLong getClusteredUsageCount()
-
destroy
void destroy()
destroys usage count and distributed lock objects
-
getHazelcastCore
HazelcastCore getHazelcastCore()
-
-