public class Jsr107CacheConfiguration extends java.lang.Object implements 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()
Indicates which service this configuration works with.
|
ConfigurationElementState |
isManagementEnabled()
Indicates if management is to be enabled.
|
ConfigurationElementState |
isStatisticsEnabled()
Indicates if statistics are to be enabled.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
build, compatibleWith, derive
public Jsr107CacheConfiguration(ConfigurationElementState statisticsEnabled, ConfigurationElementState managementEnabled)
public java.lang.Class<org.ehcache.jsr107.Jsr107Service> getServiceType()
ServiceConfiguration
getServiceType
in interface 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