public abstract class AbstractLockRequest extends KeyBasedClientRequest implements Portable, SecureRequest
Modifier and Type | Field and Description |
---|---|
protected Data |
key |
callId, clientEngine, endpoint, service
Constructor and Description |
---|
AbstractLockRequest() |
AbstractLockRequest(Data key,
long threadId) |
AbstractLockRequest(Data key,
long threadId,
long ttl,
long timeout) |
Modifier and Type | Method and Description |
---|---|
protected Object |
getKey() |
protected String |
getName() |
protected abstract ObjectNamespace |
getNamespace() |
String |
getServiceName() |
protected Operation |
prepareOperation() |
void |
read(PortableReader reader) |
void |
write(PortableWriter writer) |
getPartition
afterResponse, beforeProcess, filter, getReplicaIndex
getCallId, getClientEngine, getEndpoint, getService, isSingleConnection, readPortable, setCallId, setSingleConnection, writePortable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClassId, getFactoryId, readPortable, writePortable
getRequiredPermission
protected Data key
public AbstractLockRequest()
public AbstractLockRequest(Data key, long threadId)
public AbstractLockRequest(Data key, long threadId, long ttl, long timeout)
protected String getName()
protected final Operation prepareOperation()
prepareOperation
in class PartitionClientRequest
protected final Object getKey()
getKey
in class KeyBasedClientRequest
protected abstract ObjectNamespace getNamespace()
public final String getServiceName()
getServiceName
in class ClientRequest
public void write(PortableWriter writer) throws IOException
write
in class ClientRequest
IOException
public void read(PortableReader reader) throws IOException
read
in class ClientRequest
IOException
Copyright © 2014 Hazelcast, Inc.. All rights reserved.