public class Jsr107CacheConfiguration
extends java.lang.Object
implements org.ehcache.spi.service.ServiceConfiguration<org.ehcache.jsr107.Jsr107Service,java.lang.Void>
| Constructor and Description |
|---|
Jsr107CacheConfiguration(ConfigurationElementState statisticsEnabled,
ConfigurationElementState managementEnabled) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<org.ehcache.jsr107.Jsr107Service> |
getServiceType() |
ConfigurationElementState |
isManagementEnabled()
Indicates if management is to be enabled.
|
ConfigurationElementState |
isStatisticsEnabled()
Indicates if statistics are to be enabled.
|
public Jsr107CacheConfiguration(ConfigurationElementState statisticsEnabled, ConfigurationElementState managementEnabled)
public java.lang.Class<org.ehcache.jsr107.Jsr107Service> getServiceType()
getServiceType in interface org.ehcache.spi.service.ServiceConfiguration<org.ehcache.jsr107.Jsr107Service,java.lang.Void>public ConfigurationElementState isManagementEnabled()
A null return value indicates that cache manager level config is to be taken.
true if management is enabled, false if disabled, null to keep cache manager levelpublic ConfigurationElementState isStatisticsEnabled()
A null return value indicates that cache manager level config is to be taken.
true if statistics are enabled, false if disabled, null to keep cache manager level