Interface RecoveryStore<K>

Type Parameters:
K - store key type

public interface RecoveryStore<K>
A recovery store is used during entry cleanup done by the ResilienceStrategy. It's called when a org.ehcache.core.spi.store.Store failed on an entry. Implementations will in general want to get rid of this entry which is what the recovery store is used for.

Note that the methods on this call with tend to fail since the store already failed once and caused the resilience strategy to be called.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Obliterate all keys in a store.
    default void
    obliterate(Iterable<? extends K> keys)
    Obliterate a list of keys.
    void
    Obliterate a given key.