public abstract class SemaphoreRequest extends PartitionClientRequest implements Portable, SecureRequest
| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
protected int |
permitCount |
callId, clientEngine, endpoint, operationService, serializationService, service| Modifier | Constructor and Description |
|---|---|
protected |
SemaphoreRequest() |
protected |
SemaphoreRequest(String name,
int permitCount) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDistributedObjectName()
Used for
SecurityInterceptor |
int |
getFactoryId()
Returns PortableFactory id for this portable class
|
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 |
protected int |
getPartition() |
String |
getServiceName() |
void |
read(PortableReader reader) |
void |
write(PortableWriter writer) |
afterResponse, beforeProcess, beforeResponse, filter, getReplicaIndex, onFailure, onResponse, prepareOperation, processgetCallId, getClassVersion, getClientEngine, getDistributedObjectType, getEndpoint, getMethodName, getService, readPortable, setCallId, setClientEngine, setEndpoint, setOperationService, setSerializationService, setService, writePortableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClassId, readPortable, writePortablegetDistributedObjectType, getMethodName, getRequiredPermissionprotected String name
protected int permitCount
protected SemaphoreRequest()
protected SemaphoreRequest(String name, int permitCount)
protected int getPartition()
getPartition in class PartitionClientRequestpublic String getServiceName()
getServiceName in class ClientRequestpublic int getFactoryId()
PortablegetFactoryId in interface Portablepublic 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 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.