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, wait
compatibleWith
public StoreStatisticsConfiguration(boolean operationStatisticsEnabled)
public boolean isOperationStatisticsEnabled()
public java.lang.Class<Store.Provider> getServiceType()
ServiceConfiguration
getServiceType
in interface ServiceConfiguration<Store.Provider,java.lang.Boolean>
public java.lang.Boolean derive()
ServiceConfiguration
derive
in interface ServiceConfiguration<Store.Provider,java.lang.Boolean>
public StoreStatisticsConfiguration build(java.lang.Boolean enabled)
ServiceConfiguration
build
in interface ServiceConfiguration<Store.Provider,java.lang.Boolean>
enabled
- a detached representation