@ThreadSafe public interface ExternalStore<K,V> extends CacheLoader<K,V>, CacheWriter<K,V>
| Modifier and Type | Method and Description |
|---|---|
default void |
destroy()
Method to be used to destroy and clean up any resources associated with this store.
|
default boolean |
isAvailable() |
contains, init, load, loadEntrybulkUpdate, delete, deleteBatch, init, write, write, writeBatchdefault boolean isAvailable()
isAvailable in interface CacheLoader<K,V>isAvailable in interface CacheWriter<K,V>default void destroy()
This method will ensure the store is stopped and properly cleans up all resources for it.