Class CommandState

java.lang.Object
org.gridgain.internal.snapshots.catalog.CommandState

public class CommandState extends Object
Helper class that encapsulates the intermediate state of the catalog when applying a bunch of commands to it.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    applyCommand(List<org.apache.ignite.internal.catalog.storage.UpdateEntry> commandEntries)
    Applies given update entries to the current catalog state.
    void
    applyCommand(org.apache.ignite.internal.catalog.storage.UpdateEntry entry)
    Applies given update entry to the current catalog state.
    void
    applyCommand(org.apache.ignite.internal.catalog.UpdateProducer command)
    Applies the given command to the current catalog state.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • applyCommand

      public void applyCommand(org.apache.ignite.internal.catalog.UpdateProducer command)
      Applies the given command to the current catalog state.
    • applyCommand

      public void applyCommand(List<org.apache.ignite.internal.catalog.storage.UpdateEntry> commandEntries)
      Applies given update entries to the current catalog state.
    • applyCommand

      public void applyCommand(org.apache.ignite.internal.catalog.storage.UpdateEntry entry)
      Applies given update entry to the current catalog state.