com.hazelcast.concurrent.atomiclong.operations
Class AlterOperation
java.lang.Object
com.hazelcast.spi.Operation
com.hazelcast.concurrent.atomiclong.operations.AtomicLongBaseOperation
com.hazelcast.concurrent.atomiclong.operations.AtomicLongBackupAwareOperation
com.hazelcast.concurrent.atomiclong.operations.AbstractAlterOperation
com.hazelcast.concurrent.atomiclong.operations.AlterOperation
- All Implemented Interfaces:
- DataSerializable, IdentifiedDataSerializable, BackupAwareOperation, RemotePropagatable<Operation>, PartitionAwareOperation
public class AlterOperation
- extends AbstractAlterOperation
Method Summary |
int |
getId()
Returns type identifier for this class. |
void |
run()
|
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, setCallerUuid, setExecutorName, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData |
AlterOperation
public AlterOperation()
AlterOperation
public AlterOperation(String name,
IFunction<Long,Long> function)
getId
public int getId()
- Description copied from interface:
IdentifiedDataSerializable
- Returns type identifier for this class. Id should be unique per DataSerializableFactory.
- Returns:
- type id
run
public void run()
throws Exception
- Specified by:
run
in class Operation
- Throws:
Exception
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.