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()Deprecated.static LoggingMeterConfigcreate()Deprecated.Instead, please useCoreEnvironment.Builder.loggingMeterConfig(Consumer)and configure the builder passed to the consumer.static LoggingMeterConfigdisabled()Deprecated.This method creates a new builder.static LoggingMeterConfig.BuilderemitInterval(Duration emitInterval) Deprecated.This method creates a new builder.booleanenabled()static LoggingMeterConfig.Builderenabled(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.