Class BatchedModifications

All Implemented Interfaces:
Externalizable, Serializable, SerializableMessage, CompositeModification, Modification

@Deprecated(since="9.0.0", forRemoval=true) public final class BatchedModifications extends MutableCompositeModification
Deprecated, for removal: This API element is subject to removal in a future version.
Message used to batch write, merge, delete modification operations to the ShardTransaction actor.
Author:
Thomas Pantelis
See Also:
  • Constructor Details

    • BatchedModifications

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

      public BatchedModifications(TransactionIdentifier transactionId, short version)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • isReady

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

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

      public void setReady()
      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.
    • isDoCommitOnReady

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

      public void setDoCommitOnReady(boolean doCommitOnReady)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getTotalMessagesSent

      public int getTotalMessagesSent()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setTotalMessagesSent

      public void setTotalMessagesSent(int totalMessagesSent)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getTransactionId

      public TransactionIdentifier getTransactionId()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • readExternal

      public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      readExternal in interface Externalizable
      Specified by:
      readExternal in interface Modification
      Overrides:
      readExternal in class MutableCompositeModification
      Throws:
      IOException
      ClassNotFoundException
    • writeExternal

      public void writeExternal(ObjectOutput out) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      writeExternal in interface Externalizable
      Specified by:
      writeExternal in interface Modification
      Overrides:
      writeExternal in class MutableCompositeModification
      Throws:
      IOException
    • toString

      public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class VersionedExternalizableMessage