@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
delete, deleteBatch, init, write, writeBatch
default 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 © 2019 JBoss, a division of Red Hat. All rights reserved.