public class AwaitMapFlushOperation extends MapOperation implements PartitionAwareOperation, ReadonlyOperation, BlockingOperation
IMap.flush() call waits the end of flush by using this operation.NotifyMapFlushOperationcreateRecordStoreOnDemand, mapContainer, mapEventPublisher, mapService, mapServiceContext, recordStorenameBITMASK_LOAD_ALL_WITH_USER_SUPPLIED_KEYS, GENERIC_PARTITION_ID| Constructor and Description |
|---|
AwaitMapFlushOperation() |
AwaitMapFlushOperation(String name,
long sequence) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getResponse() |
WaitNotifyKey |
getWaitKey() |
void |
innerBeforeRun() |
void |
onWaitExpire() |
protected void |
readInternal(ObjectDataInput in) |
void |
run() |
boolean |
shouldWait() |
protected void |
writeInternal(ObjectDataOutput out) |
afterRun, beforeRun, clearLocalNearCache, evict, getServiceName, getThreadId, invalidateNearCache, invalidateNearCache, isPostProcessing, setMapContainer, setMapService, setThreadIdgetName, toStringgetCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getService, getWaitTimeout, isFlagSet, isUrgent, logError, onExecutionFailure, onInvocationException, onSetCallId, readData, returnsResponse, sendResponse, setCallerUuid, setFlag, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPartitionIdgetWaitTimeoutpublic AwaitMapFlushOperation()
public AwaitMapFlushOperation(String name, long sequence)
public void innerBeforeRun()
throws Exception
innerBeforeRun in class MapOperationExceptionpublic Object getResponse()
getResponse in class Operationpublic WaitNotifyKey getWaitKey()
getWaitKey in interface BlockingOperationpublic boolean shouldWait()
shouldWait in interface BlockingOperationpublic void onWaitExpire()
onWaitExpire in interface BlockingOperationprotected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal in class AbstractNamedOperationIOExceptionprotected void readInternal(ObjectDataInput in) throws IOException
readInternal in class AbstractNamedOperationIOExceptionCopyright © 2017 Hazelcast, Inc.. All Rights Reserved.