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 TypeMethodDescriptionReturns a batch factory for the associated cache.Returns the properties of the associated cache.default booleanisActive()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
-
isActive
default boolean isActive()Indicates whether the associated cache is active.- Returns:
- true, if the associated cache is active, false otherwise.
-