public class WaitSet extends Object implements LiveOperationsTracker, Iterable<com.hazelcast.spi.impl.operationparker.impl.WaitSetEntry>
| Constructor and Description |
|---|
WaitSet(ILogger logger,
NodeEngine nodeEngine,
Map<WaitNotifyKey,WaitSet> waitSetMap,
Queue<com.hazelcast.spi.impl.operationparker.impl.WaitSetEntry> delayQueue) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelAll(String serviceName,
Object objectId,
Throwable cause) |
void |
cancelAll(String callerUuid,
Throwable cause) |
void |
invalidateAll(String callerUuid) |
Iterator<com.hazelcast.spi.impl.operationparker.impl.WaitSetEntry> |
iterator() |
void |
onShutdown() |
void |
park(BlockingOperation op) |
void |
populate(LiveOperations liveOperations)
Populate the LiveOperations
|
int |
size() |
int |
totalValidWaitingOperationCount() |
void |
unpark(Notifier notifier,
WaitNotifyKey key) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic WaitSet(ILogger logger, NodeEngine nodeEngine, Map<WaitNotifyKey,WaitSet> waitSetMap, Queue<com.hazelcast.spi.impl.operationparker.impl.WaitSetEntry> delayQueue)
public void populate(LiveOperations liveOperations)
LiveOperationsTrackerpopulate in interface LiveOperationsTrackerliveOperations - the LiveOperations to populate.public void park(BlockingOperation op)
public void unpark(Notifier notifier, WaitNotifyKey key)
public void onShutdown()
public void invalidateAll(String callerUuid)
public int size()
public int totalValidWaitingOperationCount()
Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.