com.hazelcast.spi
Class AbstractOperation
java.lang.Object
com.hazelcast.spi.Operation
com.hazelcast.spi.AbstractOperation
- All Implemented Interfaces:
- DataSerializable
- Direct Known Subclasses:
- AuthenticationFailureOperation, AuthorizationOperation, BindOperation, ClientDisconnectionOperation, ClientReAuthOperation, HeartbeatOperation, JoinCheckOperation, JoinRequestOperation, MasterConfirmationOperation, MemberAttributeChangedOperation, MemberInfoUpdateOperation, MemberRemoveOperation, MergeClustersOperation, PostJoinOperation, PrepareMergeOperation, SetMasterOperation, TcpIpJoiner.MasterClaim
public abstract class AbstractOperation
- extends Operation
Methods inherited from class com.hazelcast.spi.Operation |
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getExecutorName, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getServiceName, getStartTime, getWaitTimeout, isUrgent, logError, onException, readData, run, setCallerUuid, setExecutorName, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, validatesTarget, writeData |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractOperation
public AbstractOperation()
afterRun
public void afterRun()
throws Exception
- Specified by:
afterRun
in class Operation
- Throws:
Exception
beforeRun
public void beforeRun()
throws Exception
- Specified by:
beforeRun
in class Operation
- Throws:
Exception
returnsResponse
public boolean returnsResponse()
- Specified by:
returnsResponse
in class Operation
getResponse
public Object getResponse()
- Specified by:
getResponse
in class Operation
writeInternal
protected void writeInternal(com.hazelcast.nio.ObjectDataOutput out)
throws IOException
- Specified by:
writeInternal
in class Operation
- Throws:
IOException
readInternal
protected void readInternal(com.hazelcast.nio.ObjectDataInput in)
throws IOException
- Specified by:
readInternal
in class Operation
- Throws:
IOException
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.