Class TransactionDoCommitRequest
java.lang.Object
org.opendaylight.controller.cluster.access.concepts.Message<TransactionIdentifier,TransactionDoCommitRequest>
org.opendaylight.controller.cluster.access.concepts.Request<TransactionIdentifier,TransactionDoCommitRequest>
org.opendaylight.controller.cluster.access.commands.TransactionRequest<TransactionDoCommitRequest>
org.opendaylight.controller.cluster.access.commands.TransactionDoCommitRequest
- All Implemented Interfaces:
Serializable,Immutable
public final class TransactionDoCommitRequest
extends TransactionRequest<TransactionDoCommitRequest>
A transaction request to perform the final, doCommit, step of the three-phase commit protocol.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTransactionDoCommitRequest(TransactionIdentifier target, long sequence, ActorRef replyTo) -
Method Summary
Modifier and TypeMethodDescriptionprotected TransactionDoCommitRequestcloneAsVersion(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.TransactionDoCommitRequest.SerialFormexternalizableProxy(ABIVersion version) Instantiate a serialization proxy for this object for the target ABI version.Methods inherited from class org.opendaylight.controller.cluster.access.commands.TransactionRequest
toRequestFailureMethods inherited from class org.opendaylight.controller.cluster.access.concepts.Request
addToStringAttributes, getReplyToMethods inherited from class org.opendaylight.controller.cluster.access.concepts.Message
getSequence, getTarget, getVersion, throwNSE, toString, toVersion, writeReplace
-
Constructor Details
-
TransactionDoCommitRequest
-
-
Method Details
-
externalizableProxy
protected org.opendaylight.controller.cluster.access.commands.TransactionDoCommitRequest.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 classTransactionRequest<TransactionDoCommitRequest>- Parameters:
version- Requested ABI version- Returns:
- Proxy for this object
-
cloneAsVersion
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,TransactionDoCommitRequest> - Parameters:
version- target ABI version- Returns:
- A message with the specified serialization stream
-