Class TransactionCommitSuccess
- java.lang.Object
-
- org.opendaylight.controller.cluster.access.concepts.Message<T,C>
-
- org.opendaylight.controller.cluster.access.concepts.Response<T,C>
-
- org.opendaylight.controller.cluster.access.concepts.RequestSuccess<TransactionIdentifier,T>
-
- org.opendaylight.controller.cluster.access.commands.TransactionSuccess<TransactionCommitSuccess>
-
- org.opendaylight.controller.cluster.access.commands.TransactionCommitSuccess
-
- All Implemented Interfaces:
Serializable,Immutable,MutationBehaviour<Immutable>
public final class TransactionCommitSuccess extends TransactionSuccess<TransactionCommitSuccess>
Successful reply to a coordinated commit request. It contains a reference to the actor which is handling the commit process.- Author:
- Robert Varga
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransactionCommitSuccess(TransactionIdentifier identifier, long sequence)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TransactionCommitSuccesscloneAsVersion(ABIVersion version)Create a copy of this message which will serialize to a stream corresponding to the specified method.protected org.opendaylight.controller.cluster.access.commands.TransactionCommitSuccess.SerialFormexternalizableProxy(ABIVersion version)Instantiate a serialization proxy for this object for the target ABI version.-
Methods inherited from class org.opendaylight.controller.cluster.access.concepts.Message
addToStringAttributes, getSequence, getTarget, getVersion, toString, toVersion, writeReplace
-
-
-
-
Constructor Detail
-
TransactionCommitSuccess
public TransactionCommitSuccess(TransactionIdentifier identifier, long sequence)
-
-
Method Detail
-
externalizableProxy
protected org.opendaylight.controller.cluster.access.commands.TransactionCommitSuccess.SerialForm externalizableProxy(ABIVersion version)
Description copied from class:MessageInstantiate a serialization proxy for this object for the target ABI version. Implementations should return different objects for incompatibleABIVersions. This method should never fail, as any compatibility checks should have been done byMessage.cloneAsVersion(ABIVersion).- Specified by:
externalizableProxyin classTransactionSuccess<TransactionCommitSuccess>- Parameters:
version- Requested ABI version- Returns:
- Proxy for this object
-
cloneAsVersion
protected TransactionCommitSuccess cloneAsVersion(ABIVersion version)
Description copied from class:MessageCreate a copy of this message which will serialize to a stream corresponding to the specified method. This method should be implemented by the concrete final message class and should invoke the equivalent ofMessage(Message, ABIVersion).- Specified by:
cloneAsVersionin classMessage<TransactionIdentifier,TransactionCommitSuccess>- Parameters:
version- target ABI version- Returns:
- A message with the specified serialization stream
-
-