Class ReadyLocalTransaction

java.lang.Object
org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction

public final class ReadyLocalTransaction extends Object
Message notifying the shard leader to apply modifications which have been prepared locally against its DataTree. This message is not directly serializable, simply because the leader and sender need to be on the same system. When it needs to be sent out to a remote system, it needs to be intercepted by ReadyLocalTransactionSerializer and turned into BatchedModifications.
  • Constructor Details

  • Method Details

    • getTransactionId

      public TransactionIdentifier getTransactionId()
    • getModification

      public DataTreeModification getModification()
    • isDoCommitOnReady

      public boolean isDoCommitOnReady()
    • getRemoteVersion

      public short getRemoteVersion()
    • setRemoteVersion

      public void setRemoteVersion(short remoteVersion)
    • getParticipatingShardNames

      public Optional<SortedSet<String>> getParticipatingShardNames()