public class StoreStatisticsConfiguration extends java.lang.Object implements 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)
Construct a new configuration from the given detached representation.
|
java.lang.Boolean |
derive()
Derive a detached representation from this configuration
|
java.lang.Class<Store.Provider> |
getServiceType()
Indicates which service this configuration works with.
|
boolean |
isOperationStatisticsEnabled() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompatibleWithpublic StoreStatisticsConfiguration(boolean operationStatisticsEnabled)
public boolean isOperationStatisticsEnabled()
public java.lang.Class<Store.Provider> getServiceType()
ServiceConfigurationgetServiceType in interface ServiceConfiguration<Store.Provider,java.lang.Boolean>public java.lang.Boolean derive()
ServiceConfigurationderive in interface ServiceConfiguration<Store.Provider,java.lang.Boolean>public StoreStatisticsConfiguration build(java.lang.Boolean enabled)
ServiceConfigurationbuild in interface ServiceConfiguration<Store.Provider,java.lang.Boolean>enabled - a detached representation