public abstract class MapOperation extends AbstractNamedOperation
Modifier and Type | Field and Description |
---|---|
protected MapContainer |
mapContainer |
protected MapService |
mapService |
protected MapServiceContext |
mapServiceContext |
name
CALL_ID_LOCAL_SKIPPED, GENERIC_PARTITION_ID
Constructor and Description |
---|
MapOperation() |
MapOperation(String name) |
Modifier and Type | Method and Description |
---|---|
void |
afterRun() |
void |
beforeRun() |
protected void |
clearNearCache(boolean owner) |
String |
getServiceName() |
long |
getThreadId() |
void |
innerBeforeRun() |
protected void |
invalidateNearCache(Data key) |
protected void |
invalidateNearCache(List<Data> keys) |
void |
setMapContainer(MapContainer mapContainer) |
void |
setMapService(MapService mapService) |
void |
setThreadId(long threadId) |
getName, readInternal, toString, writeInternal
getResponse, returnsResponse
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getResponseHandler, getService, getWaitTimeout, isUrgent, logError, onException, onExecutionFailure, onInvocationException, onSetCallId, readData, run, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData
protected transient MapService mapService
protected transient MapContainer mapContainer
protected transient MapServiceContext mapServiceContext
public MapOperation()
public MapOperation(String name)
public void setMapService(MapService mapService)
public void setMapContainer(MapContainer mapContainer)
public void beforeRun() throws Exception
beforeRun
in class AbstractOperation
Exception
public String getServiceName()
getServiceName
in class Operation
public void afterRun() throws Exception
afterRun
in class AbstractOperation
Exception
public void setThreadId(long threadId)
public long getThreadId()
protected final void invalidateNearCache(Data key)
protected final void clearNearCache(boolean owner)
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.