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