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
Request
s 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 T
cloneAsVersion
(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
toRequestFailure
Methods inherited from class org.opendaylight.controller.cluster.access.concepts.Request
addToStringAttributes, getReplyTo
Methods 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:
externalizableProxy
in classTransactionRequest<T extends AbstractLocalTransactionRequest<T>>
-
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,
T extends AbstractLocalTransactionRequest<T>> - Parameters:
version
- target ABI version- Returns:
- A message with the specified serialization stream
-