Package com.couchbase.client.core.env
Class AggregatingMeterConfig
java.lang.Object
com.couchbase.client.core.env.AggregatingMeterConfig
@Volatile public class AggregatingMeterConfig extends Object
Allows to configure the
AggregatingMeter
.
Note: the metrics implementation is considered volatile, and so is this configuration. It is subject to change at any time.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AggregatingMeterConfig.Builder
static class
AggregatingMeterConfig.Defaults
-
Method Summary
Modifier and Type Method Description static AggregatingMeterConfig.Builder
builder()
static AggregatingMeterConfig
create()
static AggregatingMeterConfig
disabled()
Duration
emitInterval()
static AggregatingMeterConfig.Builder
emitInterval(Duration emitInterval)
Allows to customize the emit intervalboolean
enabled()
static AggregatingMeterConfig.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()
-