Interface SingletonStore<T>

  • All Superinterfaces:
    DataSource<T>

    public interface SingletonStore<T>
    extends DataSource<T>
    A data store that contains at most one value
    • Method Detail

      • set

        DataHandle set​(T value)
        Set the value in this singleton data store
      • update

        void update()
        Notifies the store that the contained value has changed
      • clear

        void clear()
        Clear the value in this singleton data store