com.hazelcast.concurrent.semaphore.operations
Class SemaphoreBackupOperation

java.lang.Object
  extended by com.hazelcast.spi.Operation
      extended by com.hazelcast.spi.AbstractOperation
          extended by com.hazelcast.spi.impl.AbstractNamedOperation
              extended by com.hazelcast.concurrent.semaphore.operations.SemaphoreOperation
                  extended by com.hazelcast.concurrent.semaphore.operations.SemaphoreBackupOperation
All Implemented Interfaces:
DataSerializable, BackupOperation, RemotePropagatable<Operation>, PartitionAwareOperation
Direct Known Subclasses:
AcquireBackupOperation, DeadMemberBackupOperation, DrainBackupOperation, InitBackupOperation, ReduceBackupOperation, ReleaseBackupOperation

public abstract class SemaphoreBackupOperation
extends SemaphoreOperation
implements BackupOperation


Field Summary
protected  String firstCaller
           
 
Fields inherited from class com.hazelcast.concurrent.semaphore.operations.SemaphoreOperation
permitCount, response
 
Fields inherited from class com.hazelcast.spi.impl.AbstractNamedOperation
name
 
Constructor Summary
protected SemaphoreBackupOperation()
           
protected SemaphoreBackupOperation(String name, int permitCount, String firstCaller)
           
 
Method Summary
 void readInternal(ObjectDataInput in)
           
 void writeInternal(ObjectDataOutput out)
           
 
Methods inherited from class com.hazelcast.concurrent.semaphore.operations.SemaphoreOperation
getPermit, getResponse
 
Methods inherited from class com.hazelcast.spi.impl.AbstractNamedOperation
getName
 
Methods inherited from class com.hazelcast.spi.AbstractOperation
afterRun, beforeRun, returnsResponse
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.hazelcast.spi.PartitionAwareOperation
getPartitionId
 

Field Detail

firstCaller

protected String firstCaller
Constructor Detail

SemaphoreBackupOperation

protected SemaphoreBackupOperation()

SemaphoreBackupOperation

protected SemaphoreBackupOperation(String name,
                                   int permitCount,
                                   String firstCaller)
Method Detail

writeInternal

public void writeInternal(ObjectDataOutput out)
                   throws IOException
Overrides:
writeInternal in class SemaphoreOperation
Throws:
IOException

readInternal

public void readInternal(ObjectDataInput in)
                  throws IOException
Overrides:
readInternal in class SemaphoreOperation
Throws:
IOException


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.