Interface ClusteredSingletonLookup
-
- All Known Implementing Classes:
ClusteredSingletonLookupImpl
,ClusteredSingletonLookupImpl
,ClusteredSingletonLookupImplBase
public interface ClusteredSingletonLookup
Common 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 class
ClusteredSingletonLookup.SingletonType
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
destroy()
destroys usage count and distributed lock objectsString
getClusteredSessionKey()
com.hazelcast.map.IMap<String,Object>
getClusteredSingletonMap()
com.hazelcast.cp.IAtomicLong
getClusteredUsageCount()
com.hazelcast.cp.lock.FencedLock
getDistributedLock()
HazelcastCore
getHazelcastCore()
boolean
isClusteredEnabled()
boolean
isDistributedLockEnabled()
-
-
-
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()
-
-