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, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
readData, writeData
protected RaftSemaphore createNewResource(CPGroupId groupId, String name)
createNewResource
in class ResourceRegistry<AcquireInvocationKey,RaftSemaphore>
protected RaftSemaphoreRegistry cloneForSnapshot()
cloneForSnapshot
in class ResourceRegistry<AcquireInvocationKey,RaftSemaphore>
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.