Class ReadyLocalTransaction
java.lang.Object
org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction
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 Summary
ConstructorsConstructorDescriptionReadyLocalTransaction
(TransactionIdentifier transactionId, DataTreeModification modification, boolean doCommitOnReady, Optional<SortedSet<String>> participatingShardNames) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.short
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.void
setRemoteVersion
(short remoteVersion) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
ReadyLocalTransaction
public ReadyLocalTransaction(TransactionIdentifier transactionId, DataTreeModification modification, boolean doCommitOnReady, Optional<SortedSet<String>> participatingShardNames) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getTransactionId
Deprecated, for removal: This API element is subject to removal in a future version. -
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
Deprecated, for removal: This API element is subject to removal in a future version.
-