public static class OrphanReporterConfig.Builder extends Object
OrphanReporterConfig.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
OrphanReporterConfig |
build()
Creates a config out of this builder and freezes it effectively.
|
OrphanReporterConfig.Builder |
emitInterval(Duration emitInterval)
Allows to customize the event emit interval
|
OrphanReporterConfig.Builder |
enabled(boolean enabled)
Allows to configure if this reporter is enabled.
|
OrphanReporterConfig.Builder |
queueLength(int queueLength)
Allows to configure the max queue size for the responses waiting to be analyzed for reporting.
|
OrphanReporterConfig.Builder |
sampleSize(int sampleSize)
Allows to customize the sample size per service.
|
public OrphanReporterConfig.Builder emitInterval(Duration emitInterval)
emitInterval - the interval to use.public OrphanReporterConfig.Builder queueLength(int queueLength)
queueLength - the queue size to use.public OrphanReporterConfig.Builder sampleSize(int sampleSize)
sampleSize - the sample size to set.public OrphanReporterConfig.Builder enabled(boolean enabled)
enabled - the status of this reporter.public OrphanReporterConfig build()
Copyright © 2024 Couchbase, Inc.. All rights reserved.