public abstract class ClusteredSingletonLookupImplBase extends Object implements ClusteredSingletonLookup
ClusteredSingletonLookup.SingletonType| Constructor and Description |
|---|
ClusteredSingletonLookupImplBase(String componentId,
ClusteredSingletonLookup.SingletonType singletonType) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
destroys usage count and distributed lock objects
|
com.hazelcast.map.IMap<String,Object> |
getClusteredSingletonMap() |
com.hazelcast.cp.IAtomicLong |
getClusteredUsageCount() |
com.hazelcast.cp.lock.FencedLock |
getDistributedLock() |
HazelcastCore |
getHazelcastCore() |
protected String |
getKeyPrefix() |
protected String |
getMapKey() |
String |
getSessionHzKey() |
boolean |
isClusteredEnabled() |
boolean |
isDistributedLockEnabled() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClusteredSessionKeypublic ClusteredSingletonLookupImplBase(String componentId, ClusteredSingletonLookup.SingletonType singletonType)
protected final String getKeyPrefix()
protected final String getMapKey()
public final String getSessionHzKey()
public com.hazelcast.cp.lock.FencedLock getDistributedLock()
getDistributedLock in interface ClusteredSingletonLookuppublic com.hazelcast.map.IMap<String,Object> getClusteredSingletonMap()
getClusteredSingletonMap in interface ClusteredSingletonLookuppublic com.hazelcast.cp.IAtomicLong getClusteredUsageCount()
getClusteredUsageCount in interface ClusteredSingletonLookuppublic boolean isClusteredEnabled()
isClusteredEnabled in interface ClusteredSingletonLookuppublic boolean isDistributedLockEnabled()
isDistributedLockEnabled in interface ClusteredSingletonLookuppublic void destroy()
ClusteredSingletonLookupdestroy in interface ClusteredSingletonLookuppublic HazelcastCore getHazelcastCore()
getHazelcastCore in interface ClusteredSingletonLookupCopyright © 2021. All rights reserved.