com.hazelcast.map.impl.operation
public class TryPutOperation extends BasePutOperation
dataOldValue, eventType, putTransient
dataKey, dataValue, mapContainer, mapService, name, partitionContainer, recordStore, threadId, ttl
CALL_ID_LOCAL_SKIPPED, GENERIC_PARTITION_ID
Constructor and Description |
---|
TryPutOperation() |
TryPutOperation(String name,
Data dataKey,
Data value,
long timeout) |
Modifier and Type | Method and Description |
---|---|
void |
afterRun() |
Object |
getResponse() |
void |
onWaitExpire() |
void |
run() |
boolean |
shouldBackup()
Checks if a backup needs to be made.
|
String |
toString() |
getAsyncBackupCount, getBackupOperation, getSyncBackupCount
getWaitKey, shouldWait
beforeRun, evict, getKey, getName, getServiceName, getThreadId, getTtl, getValue, innerBeforeRun, invalidateNearCaches, readInternal, returnsResponse, setThreadId, writeInternal
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getWaitTimeout, isUrgent, logError, onException, readData, setCallerUuid, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, validatesTarget, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPartitionId
getWaitTimeout
public void afterRun()
afterRun
in class BasePutOperation
public boolean shouldBackup()
BackupAwareOperation
shouldBackup
in interface BackupAwareOperation
shouldBackup
in class BasePutOperation
public void onWaitExpire()
onWaitExpire
in interface WaitSupport
onWaitExpire
in class BasePutOperation
public Object getResponse()
getResponse
in class Operation
public String toString()
toString
in class BasePutOperation
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.