@Beta public final class ExistsTransactionSuccess extends TransactionSuccess<ExistsTransactionSuccess>
ExistsTransactionRequest
. It indicates presence of requested data via
getExists()
.Constructor and Description |
---|
ExistsTransactionSuccess(TransactionIdentifier target,
long sequence,
boolean exists) |
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 ExistsTransactionSuccess |
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.ExistsTransactionSuccessProxyV1 |
externalizableProxy(ABIVersion version)
Instantiate a serialization proxy for this object for the target ABI version.
|
boolean |
getExists() |
getSequence, getTarget, getVersion, toString, toVersion, writeReplace
public ExistsTransactionSuccess(TransactionIdentifier target, long sequence, boolean exists)
public boolean getExists()
protected org.opendaylight.controller.cluster.access.commands.ExistsTransactionSuccessProxyV1 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 TransactionSuccess<ExistsTransactionSuccess>
version
- Requested ABI versionprotected ExistsTransactionSuccess cloneAsVersion(ABIVersion version)
Message
Message.Message(Message, ABIVersion)
.cloneAsVersion
in class Message<TransactionIdentifier,ExistsTransactionSuccess>
version
- target ABI versionprotected 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 Message<TransactionIdentifier,ExistsTransactionSuccess>
toStringHelper
- a MoreObjects.ToStringHelper
instanceMoreObjects.ToStringHelper
passed in as argumentCopyright © 2019 OpenDaylight. All rights reserved.