Package org.cache2k

Interface CacheEntry<K,​V>

    • Method Detail

      • getKey

        K getKey()
        Key associated with this entry.
      • getException

        default @Nullable Throwable getException()
        The exception happened when the value was loaded and the exception could not be suppressed. null if no exception happened or it was suppressed. If null then getValue() returns a value and does not throw an exception.
      • getExceptionInfo

        @Nullable LoadExceptionInfo<K,​V> getExceptionInfo()
        Detailed information of latest exception from the loader or null if no exception happened or it was suppressed. If null then getValue() returns a value and does not throw an exception.