Interface Cacheable

    • Method Detail

      • getCacheConfiguration

        @Nonnull
        CacheConfiguration getCacheConfiguration()
        Provides the cache configuration of the component. Must not be null.
        Returns:
        the cache configuration
      • clearCache

        void clearCache()
        Clears the cache of the component.
      • getCacheStatistics

        @Nullable
        Object getCacheStatistics()
        This returns an implementation specific statistics object if the underlying cache supports it and cache statistics have been enabled in the CacheConfiguration. Use with care. The type of the statistics object might change in later versions.
        Returns:
        the cache statistics object.