Class TransactionSuccess<T extends TransactionSuccess<T>>
java.lang.Object
org.opendaylight.controller.cluster.access.concepts.Message<TransactionIdentifier,T>
org.opendaylight.controller.cluster.access.concepts.Response<TransactionIdentifier,T>
org.opendaylight.controller.cluster.access.concepts.RequestSuccess<TransactionIdentifier,T>
org.opendaylight.controller.cluster.access.commands.TransactionSuccess<T>
- Type Parameters:
T
- Message type
- All Implemented Interfaces:
Serializable
,Immutable
- Direct Known Subclasses:
ExistsTransactionSuccess
,IncrementTransactionSequenceSuccess
,ModifyTransactionSuccess
,ReadTransactionSuccess
,SkipTransactionsResponse
,TransactionAbortSuccess
,TransactionCanCommitSuccess
,TransactionCommitSuccess
,TransactionPreCommitSuccess
,TransactionPurgeResponse
public abstract class TransactionSuccess<T extends TransactionSuccess<T>>
extends RequestSuccess<TransactionIdentifier,T>
Abstract base class for
RequestSuccess
es involving specific transaction. This class is visible outside of
this package solely for the ability to perform a unified instanceof check.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract org.opendaylight.controller.cluster.access.commands.TransactionSuccess.SerialForm
<T> 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, cloneAsVersion, getSequence, getTarget, getVersion, throwNSE, toString, toVersion, writeReplace
-
Method Details
-
externalizableProxy
protected abstract org.opendaylight.controller.cluster.access.commands.TransactionSuccess.SerialForm<T> 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 classMessage<TransactionIdentifier,
T extends TransactionSuccess<T>> - Parameters:
version
- Requested ABI version- Returns:
- Proxy for this object
-