com.hazelcast.replicatedmap.impl.operation
Class AbstractReplicatedMapOperation

java.lang.Object
  extended by com.hazelcast.spi.Operation
      extended by com.hazelcast.replicatedmap.impl.operation.AbstractReplicatedMapOperation
All Implemented Interfaces:
DataSerializable, RemotePropagatable<Operation>
Direct Known Subclasses:
ReplicatedMapInitChunkOperation, ReplicatedMapPostJoinOperation

public abstract class AbstractReplicatedMapOperation
extends Operation
implements DataSerializable

Base class for replicated map remote operations


Constructor Summary
AbstractReplicatedMapOperation()
           
 
Method Summary
 void afterRun()
           
 void beforeRun()
           
 Object getResponse()
           
 String getServiceName()
           
 boolean returnsResponse()
           
 
Methods inherited from class com.hazelcast.spi.Operation
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getExecutorName, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getWaitTimeout, isUrgent, logError, onException, readData, readInternal, run, setCallerUuid, setExecutorName, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData, writeInternal
 
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.DataSerializable
readData, writeData
 

Constructor Detail

AbstractReplicatedMapOperation

public AbstractReplicatedMapOperation()
Method Detail

beforeRun

public void beforeRun()
               throws Exception
Specified by:
beforeRun in class Operation
Throws:
Exception

afterRun

public void afterRun()
              throws Exception
Specified by:
afterRun in class Operation
Throws:
Exception

returnsResponse

public boolean returnsResponse()
Specified by:
returnsResponse in interface RemotePropagatable<Operation>
Specified by:
returnsResponse in class Operation

getResponse

public Object getResponse()
Specified by:
getResponse in class Operation

getServiceName

public String getServiceName()
Overrides:
getServiceName in class Operation


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