Class AbstractLocalTransactionRequest<T extends AbstractLocalTransactionRequest<T>>
java.lang.Object
org.opendaylight.controller.cluster.access.concepts.Message<T,C>
org.opendaylight.controller.cluster.access.concepts.Request<TransactionIdentifier,T>
org.opendaylight.controller.cluster.access.commands.TransactionRequest<T>
org.opendaylight.controller.cluster.access.commands.AbstractLocalTransactionRequest<T>
- Type Parameters:
T- Message type
- All Implemented Interfaces:
Serializable,Immutable
- Direct Known Subclasses:
AbortLocalTransactionRequest,CommitLocalTransactionRequest
public abstract class AbstractLocalTransactionRequest<T extends AbstractLocalTransactionRequest<T>>
extends TransactionRequest<T>
Abstract base class for
Requests involving specific transactions local to a member node. These transactions
take advantage of isolation provided by the DataTree, performing transaction modifications on the frontend.- Author:
- Robert Varga
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionprotected final TcloneAsVersion(ABIVersion version) Create a copy of this message which will serialize to a stream corresponding to the specified method.protected final org.opendaylight.controller.cluster.access.commands.AbstractTransactionRequestProxy<T>externalizableProxy(ABIVersion 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, toString, toVersion, writeReplace
-
Method Details
-
externalizableProxy
protected final org.opendaylight.controller.cluster.access.commands.AbstractTransactionRequestProxy<T> externalizableProxy(ABIVersion version) - Specified by:
externalizableProxyin classTransactionRequest<T extends AbstractLocalTransactionRequest<T>>
-
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,T extends AbstractLocalTransactionRequest<T>> - Parameters:
version- target ABI version- Returns:
- A message with the specified serialization stream
-