com.hazelcast.concurrent.semaphore.client
public class DrainRequest extends SemaphoreRequest
name, permitCountcallId, clientEngine, endpoint, operationService, serializationService, serviceBEGIN_AND_END_FLAGS, BEGIN_FLAG, END_FLAG, HEADER_SIZE, LISTENER_EVENT_FLAG, VERSIONbuffer| Constructor and Description |
|---|
DrainRequest() |
DrainRequest(String name) |
| Modifier and Type | Method and Description |
|---|---|
int |
getClassId()
Returns class identifier for this portable class.
|
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. |
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 |
Permission |
getRequiredPermission() |
protected Operation |
prepareOperation() |
getDistributedObjectName, getFactoryId, getPartition, getServiceName, read, writeafterResponse, beforeProcess, beforeResponse, filter, getReplicaIndex, onFailure, onResponse, processgetCallId, getClassVersion, getClientEngine, getDistributedObjectType, getEndpoint, getService, readPortable, setCallId, setClientEngine, setEndpoint, setOperationService, setSerializationService, setService, writePortableaddFlag, 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, writeTobuffer, 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, wrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreadPortable, writePortablegetDistributedObjectTypepublic DrainRequest()
public DrainRequest(String name)
protected Operation prepareOperation()
prepareOperation in class PartitionClientRequestpublic int getClassId()
Portablepublic Permission getRequiredPermission()
public 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 SemaphoreRequestCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.