Interface ExternalStore<K,​V>

    • Method Detail

      • isAvailable

        default boolean isAvailable()
        Specified by:
        isAvailable in interface CacheLoader<K,​V>
        Specified by:
        isAvailable in interface CacheWriter<K,​V>
        true if the writer can be connected to, otherwise false
      • destroy

        default void destroy()
        Method to be used to destroy and clean up any resources associated with this store. This is normally only useful for non shared stores.

        This method will ensure the store is stopped and properly cleans up all resources for it.