com.hazelcast.concurrent.semaphore.operations
Class SemaphoreOperation
java.lang.Object
com.hazelcast.spi.Operation
com.hazelcast.spi.AbstractOperation
com.hazelcast.spi.impl.AbstractNamedOperation
com.hazelcast.concurrent.semaphore.operations.SemaphoreOperation
- All Implemented Interfaces:
- DataSerializable, RemotePropagatable<Operation>, PartitionAwareOperation
- Direct Known Subclasses:
- AvailableOperation, SemaphoreBackupAwareOperation, SemaphoreBackupOperation
public abstract class SemaphoreOperation
- extends AbstractNamedOperation
- implements PartitionAwareOperation
Methods inherited from class com.hazelcast.spi.Operation |
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getExecutorName, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getServiceName, getWaitTimeout, isUrgent, logError, onException, readData, run, setCallerUuid, setExecutorName, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData |
permitCount
protected int permitCount
response
protected transient Object response
SemaphoreOperation
protected SemaphoreOperation()
SemaphoreOperation
protected SemaphoreOperation(String name,
int permitCount)
getResponse
public Object getResponse()
- Overrides:
getResponse
in class AbstractOperation
getPermit
public Permit getPermit()
writeInternal
public void writeInternal(ObjectDataOutput out)
throws IOException
- Overrides:
writeInternal
in class AbstractNamedOperation
- Throws:
IOException
readInternal
public void readInternal(ObjectDataInput in)
throws IOException
- Overrides:
readInternal
in class AbstractNamedOperation
- Throws:
IOException
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.