| Package | Description |
|---|---|
| com.couchbase.client.core.env |
| Modifier and Type | Method and Description |
|---|---|
static OrphanReporterConfig.Builder |
OrphanReporterConfig.builder()
Deprecated.
Instead of creating a new builder, please use
CoreEnvironment.Builder.orphanReporterConfig(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 OrphanReporterConfig.Builder |
OrphanReporterConfig.emitInterval(Duration emitInterval)
Deprecated.
This method creates a new builder. Please see the deprecation notice on
OrphanReporterConfig.builder(). |
OrphanReporterConfig.Builder |
OrphanReporterConfig.Builder.emitInterval(Duration emitInterval)
Allows to customize the event emit interval
|
static OrphanReporterConfig.Builder |
OrphanReporterConfig.enabled(boolean enabled)
Deprecated.
This method creates a new builder. Please see the deprecation notice on
OrphanReporterConfig.builder(). |
OrphanReporterConfig.Builder |
OrphanReporterConfig.Builder.enabled(boolean enabled)
Allows to configure if this reporter is enabled.
|
OrphanReporterConfig.Builder |
CoreEnvironment.Builder.orphanReporterConfig()
Returns the currently stored config builder.
|
static OrphanReporterConfig.Builder |
OrphanReporterConfig.queueLength(int queueLength)
Deprecated.
This method creates a new builder. Please see the deprecation notice on
OrphanReporterConfig.builder(). |
OrphanReporterConfig.Builder |
OrphanReporterConfig.Builder.queueLength(int queueLength)
Allows to configure the max queue size for the responses waiting to be analyzed for reporting.
|
static OrphanReporterConfig.Builder |
OrphanReporterConfig.sampleSize(int sampleSize)
Deprecated.
This method creates a new builder. Please see the deprecation notice on
OrphanReporterConfig.builder(). |
OrphanReporterConfig.Builder |
OrphanReporterConfig.Builder.sampleSize(int sampleSize)
Allows to customize the sample size per service.
|
| Modifier and Type | Method and Description |
|---|---|
SELF |
CoreEnvironment.Builder.orphanReporterConfig(OrphanReporterConfig.Builder orphanReporterConfig)
Deprecated.
This method clobbers any previously configured values. Please use
CoreEnvironment.Builder.orphanReporterConfig(Consumer) instead. |
| Modifier and Type | Method and Description |
|---|---|
SELF |
CoreEnvironment.Builder.orphanReporterConfig(Consumer<OrphanReporterConfig.Builder> builderConsumer)
Passes the
OrphanReporterConfig.Builder to the provided consumer. |
Copyright © 2024 Couchbase, Inc.. All rights reserved.