com.hazelcast.ringbuffer.impl.operations
public class GenericOperation extends AbstractRingBufferOperation
Modifier and Type | Field and Description |
---|---|
static byte |
OPERATION_HEAD |
static byte |
OPERATION_REMAINING_CAPACITY |
static byte |
OPERATION_SIZE |
static byte |
OPERATION_TAIL |
name
CALL_ID_LOCAL_SKIPPED, 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
afterRun, beforeRun, returnsResponse
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getWaitTimeout, isUrgent, logError, onException, readData, setCallerUuid, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, 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 GenericOperation()
public GenericOperation(String name, byte operation)
public Long getResponse()
getResponse
in class AbstractOperation
public int getId()
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 © 2015 Hazelcast, Inc.. All Rights Reserved.