public class ReleaseOperation extends SemaphoreBackupAwareOperation implements Notifier
permitCount, responsenameBITMASK_LOAD_ALL_WITH_USER_SUPPLIED_KEYS, GENERIC_PARTITION_ID| Constructor and Description |
|---|
ReleaseOperation() |
ReleaseOperation(String name,
int permitCount) |
| Modifier and Type | Method and Description |
|---|---|
Operation |
getBackupOperation()
Creates the
BackupOperation responsible for making the backup. |
int |
getId()
Returns type identifier for this class.
|
WaitNotifyKey |
getNotifiedKey() |
void |
run() |
boolean |
shouldBackup()
Checks if a backup needs to be made.
|
boolean |
shouldNotify() |
getAsyncBackupCount, getSyncBackupCountgetFactoryId, getResponse, getSemaphoreContainer, getServiceName, readInternal, writeInternalgetName, toStringafterRun, beforeRun, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getService, getWaitTimeout, isFlagSet, isUrgent, logError, onExecutionFailure, onInvocationException, onSetCallId, readData, returnsResponse, sendResponse, setCallerUuid, setFlag, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPartitionIdreadData, writeDatapublic ReleaseOperation()
public ReleaseOperation(String name, int permitCount)
public boolean shouldNotify()
shouldNotify in interface Notifierpublic WaitNotifyKey getNotifiedKey()
getNotifiedKey in interface Notifierpublic boolean shouldBackup()
BackupAwareOperationshouldBackup in interface BackupAwareOperationpublic Operation getBackupOperation()
BackupAwareOperationBackupOperation responsible for making the backup.getBackupOperation in interface BackupAwareOperationBackupOperation responsible for making the backup.public int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializableCopyright © 2017 Hazelcast, Inc.. All Rights Reserved.