Class BackgroundCache.Result<V,​Ex extends Throwable>

  • Type Parameters:
    Ex - An arbitrary exception type that may be thrown
    Enclosing class:
    BackgroundCache<K,​V,​Ex extends Throwable>

    public static class BackgroundCache.Result<V,​Ex extends Throwable>
    extends Object
    The result of a refresh.
    • Method Detail

      • getValue

        public V getValue()
        Gets the value for this entry, is always null when there is an exception.
      • getException

        public Ex getException()
        Gets the exception that occurred during refresh.