public class EvictionOperation extends AbstractNamedSerializableOperation implements MutatingOperation
GENERIC_PARTITION_ID
Constructor and Description |
---|
EvictionOperation() |
EvictionOperation(ReplicatedRecordStore store,
Collection<ScheduledEntry<Object,Object>> entries) |
Modifier and Type | Method and Description |
---|---|
int |
getId()
Returns type identifier for this class.
|
String |
getName()
Returns the name of the distributed data structure.
|
void |
run()
Runs the operation.
|
boolean |
validatesTarget() |
getFactoryId
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, readInternal, requiresExplicitServiceName, returnsResponse, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, toString, writeData, writeInternal
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
readData, writeData
public EvictionOperation()
public EvictionOperation(ReplicatedRecordStore store, Collection<ScheduledEntry<Object,Object>> entries)
public void run() throws Exception
Operation
Operation.run()
or Operation.call()
method should be implemented; not both.
Runs after wait-support, supposed to do actual operationrun
in class Operation
Exception
Operation.call()
public boolean validatesTarget()
validatesTarget
in class Operation
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
public String getName()
NamedOperation
getName
in interface NamedOperation
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.