Interface CacheConfiguration
public interface CacheConfiguration
Encapsulates the generic configuration of a cache.
- Author:
- Paul Ferraro
-
Method Details
-
getCacheProperties
CacheProperties getCacheProperties()Returns the properties of the associated cache.- Returns:
- the properties of the associated cache.
-
getBatchFactory
org.wildfly.clustering.function.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.
-