public abstract class SemaphoreOperation extends AbstractNamedOperation implements PartitionAwareOperation
| Modifier and Type | Field and Description |
|---|---|
protected int |
permitCount |
protected Object |
response |
nameCALL_ID_LOCAL_SKIPPED, GENERIC_PARTITION_ID| Modifier | Constructor and Description |
|---|---|
protected |
SemaphoreOperation() |
protected |
SemaphoreOperation(String name,
int permitCount) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getResponse() |
SemaphoreContainer |
getSemaphoreContainer() |
String |
getServiceName() |
void |
readInternal(ObjectDataInput in) |
void |
writeInternal(ObjectDataOutput out) |
getName, toStringafterRun, beforeRun, returnsResponsegetCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getResponseHandler, getService, getWaitTimeout, isUrgent, logError, onException, onExecutionFailure, onInvocationException, onSetCallId, readData, run, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPartitionIdprotected int permitCount
protected transient Object response
protected SemaphoreOperation()
protected SemaphoreOperation(String name, int permitCount)
public String getServiceName()
getServiceName in class Operationpublic Object getResponse()
getResponse in class AbstractOperationpublic SemaphoreContainer getSemaphoreContainer()
public void writeInternal(ObjectDataOutput out) throws IOException
writeInternal in class AbstractNamedOperationIOExceptionpublic void readInternal(ObjectDataInput in) throws IOException
readInternal in class AbstractNamedOperationIOExceptionCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.