Interface Syncable


public interface Syncable
An type capable of syncing with a source of data, such as a proxy to a PraxisCORE component. Code interested in making sure the data is current should add a unique key. A syncable without keys may stop syncing until a key is added.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Add a unique key to this syncing in order to register an interest in this object being in sync with its upstream data source.
    void
    Remove a previously added key to unregister an interest in this object being in sync.
  • Method Details

    • addKey

      void addKey(Object key)
      Add a unique key to this syncing in order to register an interest in this object being in sync with its upstream data source.
      Parameters:
      key - unique key
    • removeKey

      void removeKey(Object key)
      Remove a previously added key to unregister an interest in this object being in sync.
      Parameters:
      key - unique key