Class ReadyLocalTransaction

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

@Deprecated(since="9.0.0", forRemoval=true) public final class ReadyLocalTransaction extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
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()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getModification

      public DataTreeModification getModification()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • isDoCommitOnReady

      public boolean isDoCommitOnReady()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getRemoteVersion

      public short getRemoteVersion()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setRemoteVersion

      public void setRemoteVersion(short remoteVersion)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getParticipatingShardNames

      public Optional<SortedSet<String>> getParticipatingShardNames()
      Deprecated, for removal: This API element is subject to removal in a future version.