public abstract class AbstractLockRequest extends KeyBasedClientRequest implements Portable, SecureRequest
| Modifier and Type | Field and Description |
|---|---|
protected Data |
key |
protected long |
threadId |
protected long |
timeout |
protected long |
ttl |
callId, clientEngine, endpoint, operationService, serializationService, 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 |
|---|---|
String |
getDistributedObjectName()
Used for
SecurityInterceptor |
protected Object |
getKey() |
String |
getMethodName()
Used for
SecurityInterceptor
Method name which called via a distributedObject
for map.put, methodName will be 'put'
For requests which do not produced via a distributedObject should return null, for example internal client. |
protected String |
getName() |
protected abstract ObjectNamespace |
getNamespace() |
Object[] |
getParameters()
Used for
SecurityInterceptor
Parameters passed to the method by a distributedObject
for map.put(key, value) parameters should be 'key' and 'value'
parameters can be in binary or object form, underlying implementation will de-serialize lazily |
String |
getServiceName() |
protected Operation |
prepareOperation() |
void |
read(PortableReader reader) |
void |
write(PortableWriter writer) |
getPartitionafterResponse, beforeProcess, beforeResponse, filter, getReplicaIndex, onFailure, onResponse, processgetCallId, getClassVersion, getClientEngine, getDistributedObjectType, getEndpoint, getService, readPortable, setCallId, setClientEngine, setEndpoint, setOperationService, setSerializationService, setService, writePortableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClassId, getFactoryId, readPortable, writePortablegetDistributedObjectType, getRequiredPermissionprotected Data key
protected long threadId
protected long ttl
protected long timeout
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 PartitionClientRequestprotected final Object getKey()
getKey in class KeyBasedClientRequestprotected abstract ObjectNamespace getNamespace()
public final String getServiceName()
getServiceName in class ClientRequestpublic void write(PortableWriter writer) throws IOException
write in class ClientRequestIOExceptionpublic void read(PortableReader reader) throws IOException
read in class ClientRequestIOExceptionpublic String getDistributedObjectName()
SecureRequestSecurityInterceptorgetDistributedObjectName in interface SecureRequestgetDistributedObjectName in class ClientRequestpublic String getMethodName()
SecureRequestSecurityInterceptor
Method name which called via a distributedObject
for map.put, methodName will be 'put'
For requests which do not produced via a distributedObject should return null, for example internal client.getMethodName in interface SecureRequestgetMethodName in class ClientRequestpublic Object[] getParameters()
SecureRequestSecurityInterceptor
Parameters passed to the method by a distributedObject
for map.put(key, value) parameters should be 'key' and 'value'
parameters can be in binary or object form, underlying implementation will de-serialize lazilygetParameters in interface SecureRequestgetParameters in class ClientRequestCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.