Class TransactionCanCommitSuccess
java.lang.Object
org.opendaylight.controller.cluster.access.concepts.Message<TransactionIdentifier,TransactionCanCommitSuccess>
org.opendaylight.controller.cluster.access.concepts.Response<TransactionIdentifier,TransactionCanCommitSuccess>
org.opendaylight.controller.cluster.access.concepts.RequestSuccess<TransactionIdentifier,TransactionCanCommitSuccess>
org.opendaylight.controller.cluster.access.commands.TransactionSuccess<TransactionCanCommitSuccess>
org.opendaylight.controller.cluster.access.commands.TransactionCanCommitSuccess
- All Implemented Interfaces:
Serializable
,Immutable
public final class TransactionCanCommitSuccess
extends TransactionSuccess<TransactionCanCommitSuccess>
Successful reply to a coordinated commit request initiated by a
ModifyTransactionRequest
or CommitLocalTransactionRequest
.- Author:
- Robert Varga
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTransactionCanCommitSuccess
(TransactionIdentifier identifier, long sequence) -
Method Summary
Modifier and TypeMethodDescriptionprotected TransactionCanCommitSuccess
cloneAsVersion
(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.TCCS
externalizableProxy
(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, throwNSE, toString, toVersion, writeReplace
-
Constructor Details
-
TransactionCanCommitSuccess
-
-
Method Details
-
externalizableProxy
protected org.opendaylight.controller.cluster.access.commands.TCCS externalizableProxy(ABIVersion version) Description copied from class:Message
Instantiate a serialization proxy for this object for the target ABI version. Implementations should return different objects for incompatibleABIVersion
s. This method should never fail, as any compatibility checks should have been done byMessage.cloneAsVersion(ABIVersion)
.- Specified by:
externalizableProxy
in classTransactionSuccess<TransactionCanCommitSuccess>
- Parameters:
version
- Requested ABI version- Returns:
- Proxy for this object
-
cloneAsVersion
Description copied from class:Message
Create 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:
cloneAsVersion
in classMessage<TransactionIdentifier,
TransactionCanCommitSuccess> - Parameters:
version
- target ABI version- Returns:
- A message with the specified serialization stream
-