com.hazelcast.concurrent.lock.client
public abstract class AbstractIsLockedRequest extends KeyBasedClientRequest
Modifier and Type | Field and Description |
---|---|
protected Data |
key |
protected long |
threadId |
callId, clientEngine, endpoint, operationService, serializationService, service
BEGIN_AND_END_FLAGS, BEGIN_FLAG, END_FLAG, HEADER_SIZE, LISTENER_EVENT_FLAG, VERSION
buffer
Modifier | Constructor and Description |
---|---|
|
AbstractIsLockedRequest() |
|
AbstractIsLockedRequest(Data key) |
protected |
AbstractIsLockedRequest(Data key,
long threadId) |
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) |
getPartition
afterResponse, beforeProcess, beforeResponse, filter, getReplicaIndex, onFailure, onResponse, process
getCallId, getClassVersion, getClientEngine, getDistributedObjectType, getEndpoint, getService, readPortable, setCallId, setClientEngine, setEndpoint, setOperationService, setSerializationService, setService, writePortable
addFlag, create, createForDecode, createForEncode, createForEncode, getCorrelationId, getDataOffset, getFlags, getFrameLength, getMessageType, getPartitionId, getVersion, isComplete, isFlagSet, isRetryable, isUrgent, readFrom, setCorrelationId, setDataOffset, setFrameLength, setMessageType, setPartitionId, setRetryable, setVersion, toString, updateFrameLength, wrapForDecode, wrapForEncode, writeTo
buffer, getBoolean, getByteArray, getData, getDataList, getDataSet, getInt, getLong, getStringUtf8, index, index, int32Get, int32Set, set, set, set, set, set, set, set, uint16Get, uint16Put, uint32Get, uint32Put, uint8Get, uint8Put, wrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getRequiredPermission
getClassId, getFactoryId
protected Data key
protected long threadId
public AbstractIsLockedRequest()
public AbstractIsLockedRequest(Data key)
protected AbstractIsLockedRequest(Data key, long threadId)
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
public String getDistributedObjectName()
SecureRequest
SecurityInterceptor
getDistributedObjectName
in interface SecureRequest
getDistributedObjectName
in class ClientRequest
public String getMethodName()
SecureRequest
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.getMethodName
in interface SecureRequest
getMethodName
in class ClientRequest
public Object[] getParameters()
SecureRequest
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 lazilygetParameters
in interface SecureRequest
getParameters
in class ClientRequest
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.