Package | Description |
---|---|
com.couchbase.client.core.diagnostics | |
com.couchbase.client.core.endpoint |
Modifier and Type | Method and Description |
---|---|
CircuitBreaker.State |
EndpointDiagnostics.circuitBreakerState()
The current state of the endpoint's circuit breaker
|
Constructor and Description |
---|
EndpointDiagnostics(ServiceType type,
EndpointState state,
CircuitBreaker.State circuitBreakerState,
String local,
String remote,
Optional<String> namespace,
Optional<Long> lastActivityUs,
Optional<String> id,
Optional<Throwable> lastConnectAttemptFailure) |
Modifier and Type | Method and Description |
---|---|
CircuitBreaker.State |
NoopCircuitBreaker.state() |
CircuitBreaker.State |
CircuitBreaker.state()
Returns the current state of the circuit breaker.
|
static CircuitBreaker.State |
CircuitBreaker.State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CircuitBreaker.State[] |
CircuitBreaker.State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2024 Couchbase, Inc.. All rights reserved.