public class PartitionWideEntryOperation extends AbstractMapOperation implements BackupAwareOperation, PartitionAwareOperation
mapContainer, mapService
name
Constructor and Description |
---|
PartitionWideEntryOperation() |
PartitionWideEntryOperation(String name,
EntryProcessor entryProcessor) |
Modifier and Type | Method and Description |
---|---|
int |
getAsyncBackupCount()
The asynchronous backup count.
|
Operation |
getBackupOperation()
Creates the
BackupOperation responsible for making the backup. |
protected Predicate |
getPredicate() |
Object |
getResponse() |
int |
getSyncBackupCount()
The synchronous backup count.
|
void |
innerBeforeRun() |
protected void |
readInternal(ObjectDataInput in) |
boolean |
returnsResponse() |
void |
run() |
boolean |
shouldBackup()
Checks if a backup needs to be made.
|
String |
toString() |
protected void |
writeInternal(ObjectDataOutput out) |
afterRun, beforeRun
getName
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getExecutorName, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getServiceName, getStartTime, getWaitTimeout, isUrgent, logError, onException, readData, setCallerUuid, setExecutorName, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, validatesTarget, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPartitionId
public PartitionWideEntryOperation(String name, EntryProcessor entryProcessor)
public PartitionWideEntryOperation()
public void innerBeforeRun()
innerBeforeRun
in class AbstractMapOperation
public boolean returnsResponse()
returnsResponse
in class AbstractMapOperation
public Object getResponse()
getResponse
in class AbstractOperation
protected Predicate getPredicate()
protected void readInternal(ObjectDataInput in) throws IOException
readInternal
in class AbstractNamedOperation
IOException
protected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal
in class AbstractNamedOperation
IOException
public boolean shouldBackup()
BackupAwareOperation
shouldBackup
in interface BackupAwareOperation
public int getSyncBackupCount()
BackupAwareOperation
getSyncBackupCount
in interface BackupAwareOperation
public int getAsyncBackupCount()
BackupAwareOperation
getAsyncBackupCount
in interface BackupAwareOperation
public Operation getBackupOperation()
BackupAwareOperation
BackupOperation
responsible for making the backup.getBackupOperation
in interface BackupAwareOperation
Copyright © 2014 Hazelcast, Inc.. All rights reserved.