public class CountDownLatchRegistry extends ResourceRegistry<AwaitInvocationKey,CountDownLatch> implements IdentifiedDataSerializable
CountDownLatch
resources and manages wait timeoutsdestroyedNames, groupId, resources, waitTimeouts
Modifier and Type | Method and Description |
---|---|
protected CountDownLatchRegistry |
cloneForSnapshot() |
protected CountDownLatch |
createNewResource(CPGroupId groupId,
String name) |
int |
getClassId()
Returns type identifier for this class.
|
int |
getFactoryId()
Returns DataSerializableFactory factory ID 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 CountDownLatch createNewResource(CPGroupId groupId, String name)
createNewResource
in class ResourceRegistry<AwaitInvocationKey,CountDownLatch>
protected CountDownLatchRegistry cloneForSnapshot()
cloneForSnapshot
in class ResourceRegistry<AwaitInvocationKey,CountDownLatch>
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
public int getClassId()
IdentifiedDataSerializable
getClassId
in interface IdentifiedDataSerializable
Copyright © 2019 Hazelcast, Inc.. All rights reserved.