public static class DefaultOrphanResponseReporter.Builder extends Object
The builder to configure the DefaultOrphanResponseReporter
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DefaultOrphanResponseReporter |
build() |
DefaultOrphanResponseReporter.Builder |
logInterval(long interval,
TimeUnit unit)
Allows to customize the log interval.
|
DefaultOrphanResponseReporter.Builder |
pretty(boolean pretty)
Allows to set the JSON output to pretty, making it more readable but also more verbose.
|
DefaultOrphanResponseReporter.Builder |
sampleSize(int sampleSize)
Allows to customize the sample size per service.
|
public DefaultOrphanResponseReporter build()
public DefaultOrphanResponseReporter.Builder logInterval(long interval, TimeUnit unit)
Allows to customize the log interval. if set to 0, disables it.
interval
- the interval to use.unit
- the time unit for the interval.public DefaultOrphanResponseReporter.Builder sampleSize(int sampleSize)
Allows to customize the sample size per service.
sampleSize
- the sample size to set.public DefaultOrphanResponseReporter.Builder pretty(boolean pretty)
Allows to set the JSON output to pretty, making it more readable but also more verbose. Helpful during debugging.
pretty
- set to true, false by defaultCopyright © 2018 Couchbase, Inc.. All rights reserved.