Interface CacheLoader.StorageListener

Enclosing class:
CacheLoader

public static interface CacheLoader.StorageListener
If you are interested in the results of your data load, this interface will receive them.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    storeResult(String k, boolean result)
    Normal path response for a set.
  • Method Details

    • storeResult

      void storeResult(String k, boolean result)
      Normal path response for a set.
      Parameters:
      k - the key that was being set
      result - true if the set changed the DB value
    • errorStoring

      void errorStoring(String k, Exception e)
      Parameters:
      k - the key that was attempting to be stored
      e - the error received while storing that key