Interface CacheConfiguration

All Known Subinterfaces:
BasicCacheConfiguration, CacheRegistry.Configuration<K,V>, CacheServiceProviderRegistrar.Configuration, EmbeddedCacheConfiguration, RemoteCacheConfiguration

public interface CacheConfiguration
Encapsulates the generic configuration of a cache.
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a batch factory for the associated cache.
    Returns the properties of the associated cache.
    default boolean
    Indicates whether the associated cache is active.
  • Method Details

    • getCacheProperties

      CacheProperties getCacheProperties()
      Returns the properties of the associated cache.
      Returns:
      the properties of the associated cache.
    • getBatchFactory

      Supplier<Batch> getBatchFactory()
      Returns a batch factory for the associated cache.
      Returns:
      a batch factory for the associated cache.
    • isActive

      default boolean isActive()
      Indicates whether the associated cache is active.
      Returns:
      true, if the associated cache is active, false otherwise.