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
Modifier and TypeClassDescriptionstatic class
static class
-
Method Summary
Modifier and TypeMethodDescriptionstatic LoggingMeterConfig.Builder
builder()
static LoggingMeterConfig
create()
static LoggingMeterConfig
disabled()
static LoggingMeterConfig.Builder
emitInterval
(Duration emitInterval) Allows to customize the emit intervalboolean
enabled()
static LoggingMeterConfig.Builder
enabled
(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()
-