Class ReadTransactionRequest
java.lang.Object
org.opendaylight.controller.cluster.access.concepts.Message<TransactionIdentifier,ReadTransactionRequest>
org.opendaylight.controller.cluster.access.concepts.Request<TransactionIdentifier,ReadTransactionRequest>
org.opendaylight.controller.cluster.access.commands.TransactionRequest<ReadTransactionRequest>
org.opendaylight.controller.cluster.access.commands.AbstractReadTransactionRequest<ReadTransactionRequest>
org.opendaylight.controller.cluster.access.commands.AbstractReadPathTransactionRequest<ReadTransactionRequest>
org.opendaylight.controller.cluster.access.commands.ReadTransactionRequest
- All Implemented Interfaces:
Serializable,Immutable
public final class ReadTransactionRequest
extends AbstractReadPathTransactionRequest<ReadTransactionRequest>
A transaction request to read a particular path exists in the current view of a particular transaction.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionReadTransactionRequest(@NonNull TransactionIdentifier identifier, long sequence, @NonNull ActorRef replyTo, @NonNull YangInstanceIdentifier path, boolean snapshotOnly) -
Method Summary
Modifier and TypeMethodDescriptionprotected ReadTransactionRequestcloneAsVersion(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.ReadTransactionRequest.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.AbstractReadPathTransactionRequest
addToStringAttributes, getPathMethods inherited from class org.opendaylight.controller.cluster.access.commands.AbstractReadTransactionRequest
isSnapshotOnlyMethods inherited from class org.opendaylight.controller.cluster.access.commands.TransactionRequest
toRequestFailureMethods inherited from class org.opendaylight.controller.cluster.access.concepts.Request
getReplyToMethods inherited from class org.opendaylight.controller.cluster.access.concepts.Message
getSequence, getTarget, getVersion, throwNSE, toString, toVersion, writeReplace
-
Constructor Details
-
ReadTransactionRequest
public ReadTransactionRequest(@NonNull TransactionIdentifier identifier, long sequence, @NonNull ActorRef replyTo, @NonNull YangInstanceIdentifier path, boolean snapshotOnly)
-
-
Method Details
-
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,ReadTransactionRequest> - Parameters:
version- target ABI version- Returns:
- A message with the specified serialization stream
-
externalizableProxy
protected org.opendaylight.controller.cluster.access.commands.ReadTransactionRequest.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 classAbstractReadPathTransactionRequest<ReadTransactionRequest>- Parameters:
version- Requested ABI version- Returns:
- Proxy for this object
-