public class ClearOperation extends AbstractNamedSerializableOperation implements MutatingOperation
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() |
String |
getName()
Returns the name of the distributed data structure.
|
Object |
getResponse()
Called if and only if
Operation.returnsResponse() returned true , shortly after Operation.run()
returns. |
String |
getServiceName() |
protected void |
readInternal(ObjectDataInput in) |
void |
run() |
protected void |
writeInternal(ObjectDataOutput out) |
afterRun, beforeRun, call, executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getService, getWaitTimeout, isUrgent, logError, onExecutionFailure, onInvocationException, onSetCallId, readData, returnsResponse, 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 Object getResponse()
Operation
Operation.returnsResponse()
returned true
, shortly after Operation.run()
returns.getResponse
in class Operation
public String getServiceName()
getServiceName
in class Operation
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
getFactoryId
in class AbstractSerializableOperation
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
public String getName()
NamedOperation
getName
in interface NamedOperation
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.