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, process
getCallId, getClassVersion, getClientEngine, getDistributedObjectType, getEndpoint, getMethodName, getService, readPortable, setCallId, setClientEngine, setEndpoint, setOperationService, setSerializationService, setService, writePortable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClassId, readPortable, writePortable
getDistributedObjectType, getMethodName, getRequiredPermission
protected String name
protected int permitCount
protected SemaphoreRequest()
protected SemaphoreRequest(String name, int permitCount)
protected int getPartition()
getPartition
in class PartitionClientRequest
public String getServiceName()
getServiceName
in class ClientRequest
public int getFactoryId()
Portable
getFactoryId
in interface Portable
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 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 © 2016 Hazelcast, Inc.. All Rights Reserved.