Interface StoreObserver<K,​V>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onComplete()
      Complete the current operation.
      void onError​(BinaryEntry<K,​V> binEntry, Exception exception)
      Indicate that the corresponding entry is in error, due to the given exception.
      void onNext​(BinaryEntry<K,​V> binEntry)
      Indicates the associated operation (load or store) has completed successfully and applied to the provided BinaryEntry.
    • Method Detail

      • onNext

        void onNext​(BinaryEntry<K,​V> binEntry)
        Indicates the associated operation (load or store) has completed successfully and applied to the provided BinaryEntry.
        Parameters:
        binEntry - the associated entry
        Throws:
        IllegalStateException - if called after the observer is closed or onComplete() has been called.
      • onError

        void onError​(BinaryEntry<K,​V> binEntry,
                     Exception exception)
        Indicate that the corresponding entry is in error, due to the given exception.
        Parameters:
        binEntry - the associated entry
        exception - exception providing error details
        Throws:
        IllegalStateException - if called after the observer is closed or onComplete() has been called.
      • onComplete

        void onComplete()
        Complete the current operation. This is the last call to make on an observer, to signify that no further processing is necessary.