T
- Message type@Beta public abstract class AbstractReadPathTransactionRequest<T extends AbstractReadPathTransactionRequest<T>> extends AbstractReadTransactionRequest<T>
TransactionRequest
s accessing data as visible in the isolated context of a particular
transaction. The path of the data being accessed is returned via getPath()
.
This class is visible outside of this package for the purpose of allowing common instanceof checks and simplified codepaths.
Modifier and Type | Method and Description |
---|---|
protected com.google.common.base.MoreObjects.ToStringHelper |
addToStringAttributes(com.google.common.base.MoreObjects.ToStringHelper toStringHelper)
Add attributes to the output of
Message.toString() . |
protected abstract org.opendaylight.controller.cluster.access.commands.AbstractReadTransactionRequestProxyV1<T> |
externalizableProxy(ABIVersion version)
Instantiate a serialization proxy for this object for the target ABI version.
|
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier |
getPath() |
isSnapshotOnly
toRequestFailure
getReplyTo
cloneAsVersion, getSequence, getTarget, getVersion, toString, toVersion, writeReplace
@Nonnull public final org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier getPath()
protected com.google.common.base.MoreObjects.ToStringHelper addToStringAttributes(com.google.common.base.MoreObjects.ToStringHelper toStringHelper)
Message
Message.toString()
. Subclasses wanting to contribute additional information
should override this method. Any null attributes will be omitted from the output.addToStringAttributes
in class AbstractReadTransactionRequest<T extends AbstractReadPathTransactionRequest<T>>
toStringHelper
- a MoreObjects.ToStringHelper
instanceMoreObjects.ToStringHelper
passed in as argumentprotected abstract org.opendaylight.controller.cluster.access.commands.AbstractReadTransactionRequestProxyV1<T> externalizableProxy(ABIVersion version)
Message
ABIVersion
s. This method should never fail, as any compatibility
checks should have been done by Message.cloneAsVersion(ABIVersion)
.externalizableProxy
in class AbstractReadTransactionRequest<T extends AbstractReadPathTransactionRequest<T>>
version
- Requested ABI versionCopyright © 2019 OpenDaylight. All rights reserved.