Package com.couchbase.client.core.env
Class OrphanReporterConfig.Builder
java.lang.Object
com.couchbase.client.core.env.OrphanReporterConfig.Builder
- Enclosing class:
- OrphanReporterConfig
public static class OrphanReporterConfig.Builder extends Object
-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description OrphanReporterConfigbuild()OrphanReporterConfig.BuilderemitInterval(Duration emitInterval)Allows to customize the emit intervalOrphanReporterConfig.BuilderqueueLength(int queueLength)Allows to configure the queue size for the individual span queues used to track the spans over threshold.OrphanReporterConfig.BuildersampleSize(int sampleSize)Allows to customize the sample size per service.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
emitInterval
Allows to customize the emit interval- Parameters:
emitInterval- the interval to use.- Returns:
- this builder for chaining.
-
queueLength
Allows to configure the queue size for the individual span queues used to track the spans over threshold.- Parameters:
queueLength- the queue size to use.- Returns:
- this builder for chaining.
-
sampleSize
Allows to customize the sample size per service.- Parameters:
sampleSize- the sample size to set.- Returns:
- this builder for chaining.
-
build
-