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 classAggregatingMeterConfig.Builder -
Method Summary
Modifier and Type Method Description static AggregatingMeterConfig.Builderbuilder()static AggregatingMeterConfigcreate()static AggregatingMeterConfigdisabled()DurationemitInterval()static AggregatingMeterConfig.BuilderemitInterval(Duration emitInterval)Allows to customize the emit intervalbooleanenabled()static AggregatingMeterConfig.Builderenabled(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()
-