Package | Description |
---|---|
com.couchbase.client.core.cnc | |
com.couchbase.client.core.cnc.tracing | |
com.couchbase.client.core.env | |
com.couchbase.client.core.msg.kv | |
com.couchbase.client.core.util |
Modifier and Type | Class and Description |
---|---|
class |
DefaultEventBus
The
DefaultEventBus provides the default and very efficient implementation
of the EventBus . |
class |
SimpleEventBus
This super simple event bus should be used in testing only to assert certain
events got pushed through.
|
Constructor and Description |
---|
OrphanReporter(EventBus eventBus,
OrphanReporterConfig config) |
Modifier and Type | Method and Description |
---|---|
static ThresholdRequestTracer.Builder |
ThresholdRequestTracer.builder(EventBus eventBus)
Deprecated.
please use
ThresholdRequestTracer.create(EventBus, ThresholdRequestTracerConfig) instead. |
static ThresholdRequestTracer |
ThresholdRequestTracer.create(EventBus eventBus)
Short-hand to create the tracer with the event bus that needs to be used.
|
static ThresholdRequestTracer |
ThresholdRequestTracer.create(EventBus eventBus,
ThresholdRequestTracerConfig config)
Creates a tracer with config and a reference to the event bus.
|
Modifier and Type | Method and Description |
---|---|
EventBus |
CoreEnvironment.eventBus()
The central event bus which manages all kinds of messages flowing
throughout the client.
|
Modifier and Type | Method and Description |
---|---|
SELF |
CoreEnvironment.Builder.eventBus(EventBus eventBus)
Customizes the event bus for the SDK.
|
Modifier and Type | Method and Description |
---|---|
static long |
ExpiryUtils.getAdjustedExpirySeconds(Duration duration,
EventBus eventBus)
If the duration is less than 30 days, returns the number of seconds
in the duration, otherwise returns the current time in Unix epoch seconds
plus the number of seconds in the duration.
|
Modifier and Type | Method and Description |
---|---|
static Set<SeedNode> |
ConnectionStringUtil.seedNodesFromConnectionString(String cs,
boolean dnsSrvEnabled,
boolean tlsEnabled,
EventBus eventBus)
Populates a list of seed nodes from the connection string.
|
Copyright © 2020 Couchbase, Inc.. All rights reserved.