public class StoreStatisticsConfiguration extends java.lang.Object implements org.ehcache.spi.service.ServiceConfiguration<Store.Provider,java.lang.Boolean>
Note that statistics about the store size, mapping and so on are not affected by this configuration. Only operation statistics (e.g. get/put counts) are disabled.
| Constructor and Description |
|---|
StoreStatisticsConfiguration(boolean operationStatisticsEnabled) |
| Modifier and Type | Method and Description |
|---|---|
StoreStatisticsConfiguration |
build(java.lang.Boolean enabled) |
java.lang.Boolean |
derive() |
java.lang.Class<Store.Provider> |
getServiceType() |
boolean |
isOperationStatisticsEnabled() |
public StoreStatisticsConfiguration(boolean operationStatisticsEnabled)
public boolean isOperationStatisticsEnabled()
public java.lang.Class<Store.Provider> getServiceType()
getServiceType in interface org.ehcache.spi.service.ServiceConfiguration<Store.Provider,java.lang.Boolean>public java.lang.Boolean derive()
derive in interface org.ehcache.spi.service.ServiceConfiguration<Store.Provider,java.lang.Boolean>public StoreStatisticsConfiguration build(java.lang.Boolean enabled)
build in interface org.ehcache.spi.service.ServiceConfiguration<Store.Provider,java.lang.Boolean>