public class ClearOperation extends AbstractOperation implements IdentifiedDataSerializable
ReplicatedMap.clear() is called.CALL_ID_LOCAL_SKIPPED, GENERIC_PARTITION_ID| Constructor and Description |
|---|
ClearOperation() |
ClearOperation(String mapName,
boolean replicateClear) |
| Modifier and Type | Method and Description |
|---|---|
int |
getFactoryId()
Returns DataSerializableFactory factory id for this class.
|
int |
getId()
Returns type identifier for this class.
|
protected Collection<Address> |
getMemberAddresses() |
Object |
getResponse() |
String |
getServiceName() |
protected void |
readInternal(ObjectDataInput in) |
protected void |
replicateClearOperation() |
boolean |
returnsResponse() |
void |
run() |
protected void |
writeInternal(ObjectDataOutput out) |
afterRun, beforeRungetCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getResponseHandler, getService, getWaitTimeout, isUrgent, logError, onException, onExecutionFailure, onInvocationException, onSetCallId, readData, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, toString, validatesTarget, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreadData, writeDatapublic ClearOperation()
public ClearOperation(String mapName, boolean replicateClear)
protected void replicateClearOperation()
protected Collection<Address> getMemberAddresses()
public boolean returnsResponse()
returnsResponse in class AbstractOperationpublic Object getResponse()
getResponse in class AbstractOperationpublic String getServiceName()
getServiceName in class Operationpublic int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializablepublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializableprotected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal in class AbstractOperationIOExceptionprotected void readInternal(ObjectDataInput in) throws IOException
readInternal in class AbstractOperationIOExceptionCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.