T - Message type@Beta public abstract class AbstractReadTransactionRequest<T extends AbstractReadTransactionRequest<T>> extends TransactionRequest<T>
TransactionRequests accessing transaction state without modifying it.
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.
|
boolean |
isSnapshotOnly() |
toRequestFailuregetReplyTocloneAsVersion, getSequence, getTarget, getVersion, toString, toVersion, writeReplacepublic final boolean isSnapshotOnly()
protected com.google.common.base.MoreObjects.ToStringHelper addToStringAttributes(com.google.common.base.MoreObjects.ToStringHelper toStringHelper)
MessageMessage.toString(). Subclasses wanting to contribute additional information
should override this method. Any null attributes will be omitted from the output.addToStringAttributes in class Request<TransactionIdentifier,T extends AbstractReadTransactionRequest<T>>toStringHelper - a MoreObjects.ToStringHelper instanceMoreObjects.ToStringHelper passed in as argumentprotected abstract org.opendaylight.controller.cluster.access.commands.AbstractReadTransactionRequestProxyV1<T> externalizableProxy(ABIVersion version)
MessageABIVersions. This method should never fail, as any compatibility
checks should have been done by Message.cloneAsVersion(ABIVersion).externalizableProxy in class TransactionRequest<T extends AbstractReadTransactionRequest<T>>version - Requested ABI versionCopyright © 2019 OpenDaylight. All rights reserved.