public class RegistrationOperation extends Operation
GENERIC_PARTITION_ID| Constructor and Description |
|---|
RegistrationOperation() |
RegistrationOperation(Registration registration,
int memberListVersion) |
| Modifier and Type | Method and Description |
|---|---|
int |
getFactoryId()
Returns DataSerializableFactory factory ID for this class.
|
int |
getId()
Returns type identifier for this class.
|
Object |
getResponse()
Called if and only if
Operation.returnsResponse() returned true,
shortly after Operation.run() returns. |
ExceptionAction |
onInvocationException(Throwable throwable)
Called when an Exception/Error is thrown
during an invocation.
|
protected void |
readInternal(ObjectDataInput in) |
protected void |
readInternalImpl(ObjectDataInput in) |
void |
run()
Runs the operation.
|
protected void |
runInternal() |
protected void |
writeInternal(ObjectDataOutput out) |
protected void |
writeInternalImpl(ObjectDataOutput out) |
afterRun, beforeRun, call, executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getService, getServiceName, getWaitTimeout, isUrgent, logError, onExecutionFailure, onSetCallId, readData, requiresExplicitServiceName, returnsResponse, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, toString, validatesTarget, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreadData, writeDatapublic RegistrationOperation()
public RegistrationOperation(Registration registration, int memberListVersion)
public Object getResponse()
OperationOperation.returnsResponse() returned true,
shortly after Operation.run() returns.getResponse in class Operationprotected void writeInternalImpl(ObjectDataOutput out) throws IOException
IOExceptionprotected void readInternalImpl(ObjectDataInput in) throws IOException
IOExceptionpublic int getId()
IdentifiedDataSerializablepublic final void run()
throws Exception
OperationOperation.run() or Operation.call() method should be implemented; not both.
Runs after wait-support, supposed to do actual operationrun in class OperationExceptionOperation.call()protected final void writeInternal(ObjectDataOutput out) throws IOException
writeInternal in class OperationIOExceptionprotected final void readInternal(ObjectDataInput in) throws IOException
readInternal in class OperationIOExceptionpublic ExceptionAction onInvocationException(Throwable throwable)
OperationonInvocationException in class Operationthrowable - Exception/Error thrown during
invocationpublic int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializableCopyright © 2019 Hazelcast, Inc.. All Rights Reserved.