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()
Deprecated.static LoggingMeterConfig
create()
Deprecated.Instead, please useCoreEnvironment.Builder.loggingMeterConfig(Consumer)
and configure the builder passed to the consumer.static LoggingMeterConfig
disabled()
Deprecated.This method creates a new builder.static LoggingMeterConfig.Builder
emitInterval
(Duration emitInterval) Deprecated.This method creates a new builder.boolean
enabled()
static LoggingMeterConfig.Builder
enabled
(boolean enabled) Deprecated.This method creates a new builder.
-
Method Details
-
builder
Deprecated.Instead of creating a new builder, please useCoreEnvironment.Builder.loggingMeterConfig(Consumer)
and configure the builder passed to the consumer. Note: CoreEnvironment is a base class; you'll probably call that method via a subclass namedClusterEnvironment
. -
create
Deprecated.Instead, please useCoreEnvironment.Builder.loggingMeterConfig(Consumer)
and configure the builder passed to the consumer. Note: CoreEnvironment is a base class; you'll probably call that method via a subclass namedClusterEnvironment
. -
disabled
Deprecated.This method creates a new builder. Please see the deprecation notice onbuilder()
. -
emitInterval
Deprecated.This method creates a new builder. Please see the deprecation notice onbuilder()
.Allows to customize the emit interval- Parameters:
emitInterval
- the interval to use.- Returns:
- this builder for chaining.
-
enabled
Deprecated.This method creates a new builder. Please see the deprecation notice onbuilder()
. -
emitInterval
-
enabled
public boolean enabled()
-
CoreEnvironment.Builder.loggingMeterConfig(Consumer)
and configure the builder passed to the consumer.