public class GetRemainingLeaseTimeOperation extends AbstractOperation
Modifier and Type | Field and Description |
---|---|
static int |
ANY_THREAD |
static long |
DEFAULT_LOCK_TTL |
protected Data |
key |
protected ObjectNamespace |
namespace |
protected Object |
response |
protected long |
threadId |
protected long |
ttl |
Constructor and Description |
---|
GetRemainingLeaseTimeOperation() |
GetRemainingLeaseTimeOperation(ObjectNamespace namespace,
Data key) |
Modifier and Type | Method and Description |
---|---|
int |
getAsyncBackupCount() |
int |
getFactoryId()
Returns DataSerializableFactory factory id for this class.
|
int |
getId()
Returns type identifier for this class.
|
Data |
getKey() |
protected LockStoreImpl |
getLockStore() |
Object |
getResponse() |
String |
getServiceName() |
int |
getSyncBackupCount() |
protected void |
readInternal(ObjectDataInput in) |
void |
run() |
void |
setAsyncBackup(boolean asyncBackup) |
protected void |
writeInternal(ObjectDataOutput out) |
afterRun, beforeRun, returnsResponse
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getExecutorName, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getWaitTimeout, isUrgent, logError, onException, readData, setCallerUuid, setExecutorName, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPartitionId
readData, writeData
public static final long DEFAULT_LOCK_TTL
public static final int ANY_THREAD
protected ObjectNamespace namespace
protected Data key
protected long threadId
protected long ttl
protected transient Object response
public GetRemainingLeaseTimeOperation()
public GetRemainingLeaseTimeOperation(ObjectNamespace namespace, Data key)
public int getId()
IdentifiedDataSerializable
public final Object getResponse()
getResponse
in class AbstractOperation
protected final LockStoreImpl getLockStore()
public final int getSyncBackupCount()
public final int getAsyncBackupCount()
public final void setAsyncBackup(boolean asyncBackup)
public final String getServiceName()
getServiceName
in class Operation
public final Data getKey()
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
protected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal
in class AbstractOperation
IOException
protected void readInternal(ObjectDataInput in) throws IOException
readInternal
in class AbstractOperation
IOException
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.