com.hazelcast.spi.impl
Class AbstractNamedOperation

java.lang.Object
  extended by com.hazelcast.spi.Operation
      extended by com.hazelcast.spi.AbstractOperation
          extended by com.hazelcast.spi.impl.AbstractNamedOperation
All Implemented Interfaces:
DataSerializable, NamedOperation
Direct Known Subclasses:
AbstractMapOperation, AbstractMutatingCacheOperation, AddIndexOperation, AwaitOperation, CacheBackupEntryProcessorOperation, CacheClearBackupOperation, CacheClearOperation, CacheContainsKeyOperation, CacheCreateConfigOperation, CacheDestroyOperation, CacheGetAllOperation, CacheGetConfigOperation, CacheGetOperation, CacheKeyIteratorOperation, CacheListenerRegistrationOperation, CacheLoadAllOperation, CacheManagementConfigOperation, CachePutAllBackupOperation, CachePutBackupOperation, CacheRemoveAllBackupOperation, CacheRemoveAllOperation, CacheRemoveBackupOperation, CacheSizeOperation, ClearBackupOperation, CountDownLatchBackupOperation, CountDownOperation, GetCountOperation, PublishOperation, SemaphoreOperation, SetCountOperation, ShutdownOperation

public abstract class AbstractNamedOperation
extends AbstractOperation
implements NamedOperation


Field Summary
protected  String name
           
 
Fields inherited from class com.hazelcast.spi.Operation
CALL_ID_LOCAL_SKIPPED, GENERIC_PARTITION_ID
 
Constructor Summary
  AbstractNamedOperation()
           
protected AbstractNamedOperation(String name)
           
 
Method Summary
 String getName()
          Returns the name of the distributed data structure.
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, getServiceName, 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
 

Field Detail

name

protected String name
Constructor Detail

AbstractNamedOperation

protected AbstractNamedOperation(String name)

AbstractNamedOperation

public AbstractNamedOperation()
Method Detail

getName

public final String getName()
Description copied from interface: NamedOperation
Returns the name of the distributed data structure.

Specified by:
getName in interface NamedOperation
Returns:
String name of the distributed data structure.

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.