public final class CacheSegmentShutdownOperation
extends com.hazelcast.spi.Operation
implements com.hazelcast.spi.PartitionAwareOperation, com.hazelcast.spi.impl.AllowedDuringPassiveState, com.hazelcast.nio.serialization.IdentifiedDataSerializable
| Constructor and Description |
|---|
CacheSegmentShutdownOperation() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitCompletion(long timeout,
TimeUnit unit) |
int |
getFactoryId() |
int |
getId() |
protected void |
readInternal(com.hazelcast.nio.ObjectDataInput in) |
boolean |
returnsResponse() |
void |
run() |
boolean |
validatesTarget() |
protected void |
writeInternal(com.hazelcast.nio.ObjectDataOutput out) |
afterRun, beforeRun, call, executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getResponse, getService, getServiceName, getWaitTimeout, isUrgent, logError, onExecutionFailure, onInvocationException, onSetCallId, readData, requiresExplicitServiceName, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, toString, writeDatapublic void run()
throws Exception
run in class com.hazelcast.spi.OperationExceptionpublic boolean returnsResponse()
returnsResponse in class com.hazelcast.spi.Operationpublic boolean validatesTarget()
validatesTarget in class com.hazelcast.spi.Operationpublic boolean awaitCompletion(long timeout,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionprotected void writeInternal(com.hazelcast.nio.ObjectDataOutput out)
throws IOException
writeInternal in class com.hazelcast.spi.OperationIOExceptionprotected void readInternal(com.hazelcast.nio.ObjectDataInput in)
throws IOException
readInternal in class com.hazelcast.spi.OperationIOExceptionpublic int getFactoryId()
getFactoryId in interface com.hazelcast.nio.serialization.IdentifiedDataSerializablepublic int getId()
getId in interface com.hazelcast.nio.serialization.IdentifiedDataSerializableCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.