Interface ArrayUpdater.Update

All Superinterfaces:
Serializable
All Known Subinterfaces:
HierarchicalArrayUpdater.HierarchicalUpdate
All Known Implementing Classes:
Grid.UpdateQueue
Enclosing interface:
ArrayUpdater

public static interface ArrayUpdater.Update extends Serializable
Array updater strategy.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    clear(int start, int length)
    Clears length elements in array from the start position.
    void
    commit(int updateId)
    Commits changes for the given updateId.
    void
    set(int start, List<elemental.json.JsonValue> items)
    Sets the items at the start position.
  • Method Details

    • clear

      void clear(int start, int length)
      Clears length elements in array from the start position.
      Parameters:
      start - the start index
      length - the number of elements to clear
    • set

      void set(int start, List<elemental.json.JsonValue> items)
      Sets the items at the start position.
      Parameters:
      start - the start index
      items - the items to set
    • commit

      void commit(int updateId)
      Commits changes for the given updateId.
      Parameters:
      updateId - the update identifier of the commit