public class GenericOperation extends AbstractRingBufferOperation implements ReadonlyOperation
Modifier and Type | Field and Description |
---|---|
static byte |
OPERATION_CAPACITY |
static byte |
OPERATION_HEAD |
static byte |
OPERATION_REMAINING_CAPACITY |
static byte |
OPERATION_SIZE |
static byte |
OPERATION_TAIL |
name
GENERIC_PARTITION_ID
Constructor and Description |
---|
GenericOperation() |
GenericOperation(String name,
byte operation) |
Modifier and Type | Method and Description |
---|---|
int |
getId()
Returns type identifier for this class.
|
Long |
getResponse() |
protected void |
readInternal(ObjectDataInput in) |
void |
run() |
protected void |
writeInternal(ObjectDataOutput out) |
getFactoryId, getServiceName, getServiceNamespace, logError, toString
afterRun, beforeRun, executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getService, getWaitTimeout, isUrgent, onExecutionFailure, onInvocationException, onSetCallId, readData, returnsResponse, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
readData, writeData
getPartitionId
public static final byte OPERATION_SIZE
public static final byte OPERATION_TAIL
public static final byte OPERATION_HEAD
public static final byte OPERATION_REMAINING_CAPACITY
public static final byte OPERATION_CAPACITY
public GenericOperation()
public GenericOperation(String name, byte operation)
public Long getResponse()
getResponse
in class Operation
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
protected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal
in class AbstractRingBufferOperation
IOException
protected void readInternal(ObjectDataInput in) throws IOException
readInternal
in class AbstractRingBufferOperation
IOException
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.