Package org.ehcache.jsr107.config
Class Jsr107CacheConfiguration
java.lang.Object
org.ehcache.jsr107.config.Jsr107CacheConfiguration
- All Implemented Interfaces:
org.ehcache.spi.service.ServiceConfiguration<org.ehcache.jsr107.Jsr107Service,Void>
public class Jsr107CacheConfiguration
extends Object
implements org.ehcache.spi.service.ServiceConfiguration<org.ehcache.jsr107.Jsr107Service,Void>
Jsr107CacheConfiguration
-
Constructor Summary
ConstructorsConstructorDescriptionJsr107CacheConfiguration(ConfigurationElementState statisticsEnabled, ConfigurationElementState managementEnabled) -
Method Summary
Modifier and TypeMethodDescriptionClass<org.ehcache.jsr107.Jsr107Service>Indicates if management is to be enabled.Indicates if statistics are to be enabled.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ehcache.spi.service.ServiceConfiguration
build, compatibleWith, derive
-
Constructor Details
-
Jsr107CacheConfiguration
public Jsr107CacheConfiguration(ConfigurationElementState statisticsEnabled, ConfigurationElementState managementEnabled)
-
-
Method Details
-
getServiceType
- Specified by:
getServiceTypein interfaceorg.ehcache.spi.service.ServiceConfiguration<org.ehcache.jsr107.Jsr107Service,Void>
-
isManagementEnabled
Indicates if management is to be enabled.A
nullreturn value indicates that cache manager level config is to be taken.- Returns:
trueif management is enabled,falseif disabled,nullto keep cache manager level
-
isStatisticsEnabled
Indicates if statistics are to be enabled.A
nullreturn value indicates that cache manager level config is to be taken.- Returns:
trueif statistics are enabled,falseif disabled,nullto keep cache manager level
-