public class LoggingMeterConfig extends Object
LoggingMeter
.
Note: the metrics implementation is considered volatile, and so is this configuration. It is subject to change at any time.
Modifier and Type | Class and Description |
---|---|
static class |
LoggingMeterConfig.Builder |
static class |
LoggingMeterConfig.Defaults |
Modifier and Type | Method and Description |
---|---|
static LoggingMeterConfig.Builder |
builder()
Deprecated.
Instead of creating a new builder, please use
CoreEnvironment.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 named
ClusterEnvironment . |
static LoggingMeterConfig |
create()
Deprecated.
Instead, please use
CoreEnvironment.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 named
ClusterEnvironment . |
static LoggingMeterConfig |
disabled()
Deprecated.
This method creates a new builder. Please see the deprecation notice on
builder() . |
Duration |
emitInterval() |
static LoggingMeterConfig.Builder |
emitInterval(Duration emitInterval)
Deprecated.
This method creates a new builder. Please see the deprecation notice on
builder() . |
boolean |
enabled() |
static LoggingMeterConfig.Builder |
enabled(boolean enabled)
Deprecated.
This method creates a new builder. Please see the deprecation notice on
builder() . |
@Deprecated public static LoggingMeterConfig.Builder builder()
CoreEnvironment.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 named
ClusterEnvironment
.@Deprecated public static LoggingMeterConfig create()
CoreEnvironment.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 named
ClusterEnvironment
.@Deprecated public static LoggingMeterConfig disabled()
builder()
.@Deprecated public static LoggingMeterConfig.Builder emitInterval(Duration emitInterval)
builder()
.emitInterval
- the interval to use.@Deprecated public static LoggingMeterConfig.Builder enabled(boolean enabled)
builder()
.public Duration emitInterval()
public boolean enabled()
Copyright © 2024 Couchbase, Inc.. All rights reserved.