public class ClearOperation extends AbstractOperation implements IdentifiedDataSerializable
ReplicatedMap.clear()
is called.GENERIC_PARTITION_ID
Constructor and Description |
---|
ClearOperation() |
ClearOperation(String mapName,
boolean replicateClear) |
ClearOperation(String mapName,
boolean replicateClear,
long version) |
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) |
boolean |
returnsResponse() |
void |
run() |
protected void |
writeInternal(ObjectDataOutput out) |
afterRun, beforeRun, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getService, getWaitTimeout, isUrgent, logError, onExecutionFailure, onInvocationException, onSetCallId, readData, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, 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)
public ClearOperation(String mapName, boolean replicateClear, long version)
protected Collection<Address> getMemberAddresses()
public boolean returnsResponse()
returnsResponse
in class Operation
public Object getResponse()
getResponse
in class Operation
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 Operation
IOException
protected void readInternal(ObjectDataInput in) throws IOException
readInternal
in class Operation
IOException
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.