com.hazelcast.ringbuffer.impl.operations
Class AbstractRingBufferOperation

java.lang.Object
  extended by com.hazelcast.spi.Operation
      extended by com.hazelcast.spi.AbstractOperation
          extended by com.hazelcast.ringbuffer.impl.operations.AbstractRingBufferOperation
All Implemented Interfaces:
DataSerializable, IdentifiedDataSerializable, PartitionAwareOperation
Direct Known Subclasses:
AddAllBackupOperation, AddAllOperation, AddBackupOperation, AddOperation, GenericOperation, ReadManyOperation, ReadOneOperation

public abstract class AbstractRingBufferOperation
extends AbstractOperation
implements IdentifiedDataSerializable, PartitionAwareOperation


Field Summary
protected  String name
           
 
Fields inherited from class com.hazelcast.spi.Operation
CALL_ID_LOCAL_SKIPPED, GENERIC_PARTITION_ID
 
Constructor Summary
AbstractRingBufferOperation()
           
AbstractRingBufferOperation(String name)
           
 
Method Summary
 int getFactoryId()
          Returns DataSerializableFactory factory id for this class.
 String getServiceName()
           
protected  void readInternal(ObjectDataInput in)
           
protected  void writeInternal(ObjectDataOutput out)
           
 
Methods inherited from class com.hazelcast.spi.AbstractOperation
afterRun, beforeRun, getResponse, returnsResponse
 
Methods inherited from class com.hazelcast.spi.Operation
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getWaitTimeout, isUrgent, logError, onException, readData, run, setCallerUuid, 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.nio.serialization.IdentifiedDataSerializable
getId
 
Methods inherited from interface com.hazelcast.nio.serialization.DataSerializable
readData, writeData
 
Methods inherited from interface com.hazelcast.spi.PartitionAwareOperation
getPartitionId
 

Field Detail

name

protected String name
Constructor Detail

AbstractRingBufferOperation

public AbstractRingBufferOperation()

AbstractRingBufferOperation

public AbstractRingBufferOperation(String name)
Method Detail

getServiceName

public String getServiceName()
Overrides:
getServiceName in class Operation

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
Overrides:
writeInternal in class AbstractOperation
Throws:
IOException

readInternal

protected void readInternal(ObjectDataInput in)
                     throws IOException
Overrides:
readInternal in class AbstractOperation
Throws:
IOException


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