@Beta public final class CommitLocalTransactionRequest extends AbstractLocalTransactionRequest<CommitLocalTransactionRequest>
Constructor and Description |
---|
CommitLocalTransactionRequest(@NonNull TransactionIdentifier identifier,
long sequence,
@NonNull akka.actor.ActorRef replyTo,
@NonNull org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeModification mod,
@Nullable Exception delayedFailure,
boolean coordinated) |
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() . |
Optional<Exception> |
getDelayedFailure()
Return the delayed error detected on the frontend.
|
org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeModification |
getModification() |
boolean |
isCoordinated()
Indicate if this is a coordinated, multi-backend request.
|
cloneAsVersion, externalizableProxy
toRequestFailure
getReplyTo
getSequence, getTarget, getVersion, toString, toVersion, writeReplace
public CommitLocalTransactionRequest(@NonNull TransactionIdentifier identifier, long sequence, @NonNull akka.actor.ActorRef replyTo, @NonNull org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeModification mod, @Nullable Exception delayedFailure, boolean coordinated)
public Optional<Exception> getDelayedFailure()
public org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeModification getModification()
public boolean isCoordinated()
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 Request<TransactionIdentifier,CommitLocalTransactionRequest>
toStringHelper
- a MoreObjects.ToStringHelper
instanceMoreObjects.ToStringHelper
passed in as argumentCopyright © 2019 OpenDaylight. All rights reserved.