public class RaftSemaphoreRegistry extends ResourceRegistry<AcquireInvocationKey,RaftSemaphore> implements IdentifiedDataSerializable
RaftSemaphore resources and manages wait timeouts
based on acquire / release requestsdestroyedNames, groupId, resources, waitTimeouts| Modifier and Type | Method and Description |
|---|---|
protected RaftSemaphoreRegistry |
cloneForSnapshot() |
protected RaftSemaphore |
createNewResource(CPGroupId groupId,
String name) |
int |
getFactoryId()
Returns DataSerializableFactory factory ID for this class.
|
int |
getId()
Returns type identifier for this class.
|
addWaitKey, destroy, getGroupId, getLiveOperations, getOrInitResource, getResourceOrNull, getWaitTimeouts, populate, readData, removeWaitKey, toString, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreadData, writeDataprotected RaftSemaphore createNewResource(CPGroupId groupId, String name)
createNewResource in class ResourceRegistry<AcquireInvocationKey,RaftSemaphore>protected RaftSemaphoreRegistry cloneForSnapshot()
cloneForSnapshot in class ResourceRegistry<AcquireInvocationKey,RaftSemaphore>public int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializablepublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializableCopyright © 2019 Hazelcast, Inc.. All Rights Reserved.