Class TransactionPurgeRequest
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<TransactionPurgeRequest>
org.opendaylight.controller.cluster.access.commands.TransactionPurgeRequest
- All Implemented Interfaces:
Serializable
,Immutable
A transaction request to perform the final transaction transition, which is purging it from the protocol view,
meaning the frontend has no further knowledge of the transaction. The backend is free to purge any state related
to the transaction and responds with a
TransactionPurgeResponse
.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTransactionPurgeRequest
(TransactionIdentifier target, long sequence, ActorRef replyTo) -
Method Summary
Modifier and TypeMethodDescriptionprotected TransactionPurgeRequest
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.TransactionPurgeRequest.SerialForm
externalizableProxy
(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
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, throwNSE, toString, toVersion, writeReplace
-
Constructor Details
-
TransactionPurgeRequest
-
-
Method Details
-
externalizableProxy
protected org.opendaylight.controller.cluster.access.commands.TransactionPurgeRequest.SerialForm 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 classTransactionRequest<TransactionPurgeRequest>
- 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,
TransactionPurgeRequest> - Parameters:
version
- target ABI version- Returns:
- A message with the specified serialization stream
-