@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, loaddelete, deleteBatch, init, 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.
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.