Interface ExternalStore<K,​V>

    • Method Detail

      • isAvailable

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

        default void destroy()
        Deprecated.
        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.