Class TransactionCanCommitSuccess
- 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<TransactionCanCommitSuccess>
-
- org.opendaylight.controller.cluster.access.commands.TransactionCanCommitSuccess
-
- All Implemented Interfaces:
Serializable,Immutable,MutationBehaviour<Immutable>
public final class TransactionCanCommitSuccess extends TransactionSuccess<TransactionCanCommitSuccess>
Successful reply to a coordinated commit request initiated by aModifyTransactionRequestorCommitLocalTransactionRequest.- Author:
- Robert Varga
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransactionCanCommitSuccess(TransactionIdentifier identifier, long sequence)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TransactionCanCommitSuccesscloneAsVersion(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.AbstractTransactionSuccessProxy<TransactionCanCommitSuccess>externalizableProxy(ABIVersion version)-
Methods inherited from class org.opendaylight.controller.cluster.access.concepts.Message
addToStringAttributes, getSequence, getTarget, getVersion, toString, toVersion, writeReplace
-
-
-
-
Constructor Detail
-
TransactionCanCommitSuccess
public TransactionCanCommitSuccess(TransactionIdentifier identifier, long sequence)
-
-
Method Detail
-
externalizableProxy
protected org.opendaylight.controller.cluster.access.commands.AbstractTransactionSuccessProxy<TransactionCanCommitSuccess> externalizableProxy(ABIVersion version)
- Specified by:
externalizableProxyin classTransactionSuccess<TransactionCanCommitSuccess>
-
cloneAsVersion
protected TransactionCanCommitSuccess 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,TransactionCanCommitSuccess>- Parameters:
version- target ABI version- Returns:
- A message with the specified serialization stream
-
-