Package com.couchbase.client.core.env
Class LoggingMeterConfig
java.lang.Object
com.couchbase.client.core.env.LoggingMeterConfig
Allows to configure the
LoggingMeter.
Note: the metrics implementation is considered volatile, and so is this configuration. It is subject to change at any time.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Method Summary
Modifier and TypeMethodDescriptionstatic LoggingMeterConfig.Builderbuilder()static LoggingMeterConfigcreate()static LoggingMeterConfigdisabled()static LoggingMeterConfig.BuilderemitInterval(Duration emitInterval) Allows to customize the emit intervalbooleanenabled()static LoggingMeterConfig.Builderenabled(boolean enabled)
-
Method Details
-
builder
-
create
-
disabled
-
emitInterval
Allows to customize the emit interval- Parameters:
emitInterval- the interval to use.- Returns:
- this builder for chaining.
-
enabled
-
emitInterval
-
enabled
public boolean enabled()
-