public class ThresholdLoggingTracerConfig extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ThresholdLoggingTracerConfig.Builder |
static class |
ThresholdLoggingTracerConfig.Defaults |
Modifier and Type | Method and Description |
---|---|
Duration |
analyticsThreshold() |
static ThresholdLoggingTracerConfig.Builder |
analyticsThreshold(Duration analyticsThreshold)
Deprecated.
This method creates a new builder. Please see the deprecation notice on
builder() . |
static ThresholdLoggingTracerConfig.Builder |
builder()
Deprecated.
Instead of creating a new builder, please use
CoreEnvironment.Builder.thresholdLoggingTracerConfig(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 ThresholdLoggingTracerConfig |
create()
Deprecated.
Instead, please use
CoreEnvironment.Builder.thresholdLoggingTracerConfig(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 ThresholdLoggingTracerConfig |
disabled()
Deprecated.
This method creates a new builder. Please see the deprecation notice on
builder() . |
Duration |
emitInterval() |
static ThresholdLoggingTracerConfig.Builder |
emitInterval(Duration emitInterval)
Deprecated.
This method creates a new builder. Please see the deprecation notice on
builder() . |
boolean |
enabled() |
static ThresholdLoggingTracerConfig.Builder |
enabled(boolean enabled)
Deprecated.
This method creates a new builder. Please see the deprecation notice on
builder() . |
Duration |
kvThreshold() |
static ThresholdLoggingTracerConfig.Builder |
kvThreshold(Duration kvThreshold)
Deprecated.
This method creates a new builder. Please see the deprecation notice on
builder() . |
Duration |
queryThreshold() |
static ThresholdLoggingTracerConfig.Builder |
queryThreshold(Duration queryThreshold)
Deprecated.
This method creates a new builder. Please see the deprecation notice on
builder() . |
int |
queueLength() |
static ThresholdLoggingTracerConfig.Builder |
queueLength(int queueLength)
Deprecated.
This method creates a new builder. Please see the deprecation notice on
builder() . |
int |
sampleSize() |
static ThresholdLoggingTracerConfig.Builder |
sampleSize(int sampleSize)
Deprecated.
This method creates a new builder. Please see the deprecation notice on
builder() . |
Duration |
searchThreshold() |
static ThresholdLoggingTracerConfig.Builder |
searchThreshold(Duration searchThreshold)
Deprecated.
This method creates a new builder. Please see the deprecation notice on
builder() . |
Duration |
transactionsThreshold() |
Duration |
viewThreshold() |
static ThresholdLoggingTracerConfig.Builder |
viewThreshold(Duration viewThreshold)
Deprecated.
This method creates a new builder. Please see the deprecation notice on
builder() . |
@Deprecated public static ThresholdLoggingTracerConfig.Builder builder()
CoreEnvironment.Builder.thresholdLoggingTracerConfig(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 ThresholdLoggingTracerConfig create()
CoreEnvironment.Builder.thresholdLoggingTracerConfig(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 ThresholdLoggingTracerConfig disabled()
builder()
.@Deprecated public static ThresholdLoggingTracerConfig.Builder enabled(boolean enabled)
builder()
.@Deprecated public static ThresholdLoggingTracerConfig.Builder sampleSize(int sampleSize)
builder()
.sampleSize
- the sample size to set.@Deprecated public static ThresholdLoggingTracerConfig.Builder emitInterval(Duration emitInterval)
builder()
.emitInterval
- the interval to use.@Deprecated public static ThresholdLoggingTracerConfig.Builder queueLength(int queueLength)
builder()
.queueLength
- the queue size to use.@Deprecated public static ThresholdLoggingTracerConfig.Builder kvThreshold(Duration kvThreshold)
builder()
.kvThreshold
- the threshold to set.@Deprecated public static ThresholdLoggingTracerConfig.Builder analyticsThreshold(Duration analyticsThreshold)
builder()
.analyticsThreshold
- the threshold to set.@Deprecated public static ThresholdLoggingTracerConfig.Builder queryThreshold(Duration queryThreshold)
builder()
.queryThreshold
- the threshold to set.@Deprecated public static ThresholdLoggingTracerConfig.Builder searchThreshold(Duration searchThreshold)
builder()
.searchThreshold
- the threshold to set.@Deprecated public static ThresholdLoggingTracerConfig.Builder viewThreshold(Duration viewThreshold)
builder()
.viewThreshold
- the threshold to set.public boolean enabled()
public Duration emitInterval()
public int queueLength()
public int sampleSize()
public Duration kvThreshold()
public Duration queryThreshold()
public Duration viewThreshold()
public Duration searchThreshold()
public Duration analyticsThreshold()
public Duration transactionsThreshold()
Copyright © 2024 Couchbase, Inc.. All rights reserved.