public class PartitionWideEntryOperation extends AbstractMapOperation implements BackupAwareOperation, PartitionAwareOperation
mapContainer, mapServicename| 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, beforeRungetNamegetCallerAddress, 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, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPartitionIdpublic PartitionWideEntryOperation(String name, EntryProcessor entryProcessor)
public PartitionWideEntryOperation()
public void innerBeforeRun()
innerBeforeRun in class AbstractMapOperationpublic boolean returnsResponse()
returnsResponse in class AbstractMapOperationpublic Object getResponse()
getResponse in class AbstractOperationprotected Predicate getPredicate()
protected void readInternal(ObjectDataInput in) throws IOException
readInternal in class AbstractNamedOperationIOExceptionprotected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal in class AbstractNamedOperationIOExceptionpublic boolean shouldBackup()
BackupAwareOperationshouldBackup in interface BackupAwareOperationpublic int getSyncBackupCount()
BackupAwareOperationgetSyncBackupCount in interface BackupAwareOperationpublic int getAsyncBackupCount()
BackupAwareOperationgetAsyncBackupCount in interface BackupAwareOperationpublic Operation getBackupOperation()
BackupAwareOperationBackupOperation responsible for making the backup.getBackupOperation in interface BackupAwareOperationCopyright © 2021 Hazelcast, Inc.. All rights reserved.