public class EntryOperation extends LockAwareOperation implements BackupAwareOperation
| Modifier and Type | Field and Description |
|---|---|
protected Object |
oldValue |
dataKey, mapContainer, mapService, name, partitionContainer, recordStore, threadId, ttl| Constructor and Description |
|---|
EntryOperation() |
EntryOperation(String name,
Data dataKey,
EntryProcessor entryProcessor) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterRun() |
int |
getAsyncBackupCount()
The asynchronous backup count.
|
Operation |
getBackupOperation()
Creates the
BackupOperation responsible for making the backup. |
Object |
getResponse() |
int |
getSyncBackupCount()
The synchronous backup count.
|
void |
innerBeforeRun() |
void |
onWaitExpire() |
protected void |
readInternal(ObjectDataInput in) |
void |
run() |
boolean |
shouldBackup()
Checks if a backup needs to be made.
|
String |
toString() |
protected void |
writeInternal(ObjectDataOutput out) |
getWaitKey, shouldWaitbeforeRun, evict, getKey, getName, getThreadId, getTtl, getValue, invalidateNearCaches, returnsResponse, setThreadIdgetCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getExecutorName, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getServiceName, getWaitTimeout, isUrgent, logError, onException, readData, setCallerUuid, setExecutorName, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, validatesTarget, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPartitionIdgetWaitTimeoutprotected Object oldValue
public EntryOperation()
public EntryOperation(String name, Data dataKey, EntryProcessor entryProcessor)
public void innerBeforeRun()
innerBeforeRun in class KeyBasedMapOperationpublic void afterRun()
throws Exception
afterRun in class KeyBasedMapOperationExceptionpublic void onWaitExpire()
onWaitExpire in interface WaitSupportonWaitExpire in class LockAwareOperationprotected void readInternal(ObjectDataInput in) throws IOException
readInternal in class KeyBasedMapOperationIOExceptionprotected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal in class KeyBasedMapOperationIOExceptionpublic Object getResponse()
getResponse in class Operationpublic Operation getBackupOperation()
BackupAwareOperationBackupOperation responsible for making the backup.getBackupOperation in interface BackupAwareOperationpublic boolean shouldBackup()
BackupAwareOperationshouldBackup in interface BackupAwareOperationpublic int getAsyncBackupCount()
BackupAwareOperationgetAsyncBackupCount in interface BackupAwareOperationpublic int getSyncBackupCount()
BackupAwareOperationgetSyncBackupCount in interface BackupAwareOperationCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.