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() |
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, returnsResponse, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, toString, validatesTarget, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
readData, writeData
public RegistrationOperation()
public RegistrationOperation(Registration registration, int memberListVersion)
public Object getResponse()
Operation
Operation.returnsResponse()
returned true
, shortly after Operation.run()
returns.getResponse
in class Operation
protected void writeInternalImpl(ObjectDataOutput out) throws IOException
IOException
protected void readInternalImpl(ObjectDataInput in) throws IOException
IOException
public int getId()
IdentifiedDataSerializable
protected final void writeInternal(ObjectDataOutput out) throws IOException
writeInternal
in class Operation
IOException
protected final void readInternal(ObjectDataInput in) throws IOException
readInternal
in class Operation
IOException
public ExceptionAction onInvocationException(Throwable throwable)
Operation
onInvocationException
in class Operation
throwable
- Exception/Error thrown during invocationpublic int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.