com.hazelcast.concurrent.atomiclong.operations
Class AtomicLongBaseOperation
java.lang.Object
com.hazelcast.spi.Operation
com.hazelcast.concurrent.atomiclong.operations.AtomicLongBaseOperation
- All Implemented Interfaces:
- DataSerializable, IdentifiedDataSerializable, RemotePropagatable<Operation>, PartitionAwareOperation
- Direct Known Subclasses:
- AddBackupOperation, ApplyOperation, AtomicLongBackupAwareOperation, GetOperation, SetBackupOperation
public abstract class AtomicLongBaseOperation
- extends Operation
- implements PartitionAwareOperation, IdentifiedDataSerializable
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 |
name
protected String name
AtomicLongBaseOperation
public AtomicLongBaseOperation()
AtomicLongBaseOperation
public AtomicLongBaseOperation(String name)
getNumber
public LongWrapper getNumber()
getFactoryId
public int getFactoryId()
- Description copied from interface:
IdentifiedDataSerializable
- Returns DataSerializableFactory factory id for this class.
- Specified by:
getFactoryId
in interface IdentifiedDataSerializable
- Returns:
- factory id
writeInternal
protected void writeInternal(ObjectDataOutput out)
throws IOException
- Specified by:
writeInternal
in class Operation
- Throws:
IOException
readInternal
protected void readInternal(ObjectDataInput in)
throws IOException
- Specified by:
readInternal
in class Operation
- Throws:
IOException
afterRun
public void afterRun()
throws Exception
- Specified by:
afterRun
in class Operation
- Throws:
Exception
beforeRun
public void beforeRun()
throws Exception
- Specified by:
beforeRun
in class Operation
- Throws:
Exception
getResponse
public Object getResponse()
- Specified by:
getResponse
in class Operation
returnsResponse
public boolean returnsResponse()
- Specified by:
returnsResponse
in interface RemotePropagatable<Operation>
- Specified by:
returnsResponse
in class Operation
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.