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, beforeRun
getCallerAddress, 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, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
readData, writeData
public ClearOperation()
public ClearOperation(String mapName, boolean replicateClear)
protected void replicateClearOperation()
protected Collection<Address> getMemberAddresses()
public boolean returnsResponse()
returnsResponse
in class AbstractOperation
public Object getResponse()
getResponse
in class AbstractOperation
public String getServiceName()
getServiceName
in class Operation
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
protected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal
in class AbstractOperation
IOException
protected void readInternal(ObjectDataInput in) throws IOException
readInternal
in class AbstractOperation
IOException
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.