Class EndpointContext
java.lang.Object
com.couchbase.client.core.cnc.AbstractContext
com.couchbase.client.core.CoreContext
com.couchbase.client.core.endpoint.EndpointContext
- All Implemented Interfaces:
Context
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.couchbase.client.core.cnc.Context
Context.ExportFormat
-
Constructor Summary
ConstructorDescriptionEndpointContext
(CoreContext ctx, HostAndPort remoteSocket, CircuitBreaker circuitBreaker, ServiceType serviceType, Optional<HostAndPort> localSocket, Optional<String> bucket, Optional<String> channelId) Creates a newEndpointContext
.Helper method to duplicate the endpoint context (useful for extension). -
Method Summary
Modifier and TypeMethodDescriptionvoid
authenticationStatus
(AuthenticationStatus authenticationStatus) bucket()
void
injectExportableParams
(Map<String, Object> input) This method needs to be implemented by the actual context implementations to inject the params they need for exporting.void
tlsHandshakeFailure
(Throwable tlsHandshakeFailure) Methods inherited from class com.couchbase.client.core.CoreContext
alternateAddress, alternateAddress, authenticator, core, environment, id
Methods inherited from class com.couchbase.client.core.cnc.AbstractContext
exportAsMap, exportAsString, toString
-
Constructor Details
-
EndpointContext
Helper method to duplicate the endpoint context (useful for extension).- Parameters:
ctx
- the context to copy from.
-
EndpointContext
public EndpointContext(CoreContext ctx, HostAndPort remoteSocket, CircuitBreaker circuitBreaker, ServiceType serviceType, Optional<HostAndPort> localSocket, Optional<String> bucket, Optional<String> channelId) Creates a newEndpointContext
.
-
-
Method Details
-
authenticationStatus
-
tlsHandshakeFailure
-
injectExportableParams
Description copied from class:AbstractContext
This method needs to be implemented by the actual context implementations to inject the params they need for exporting.- Overrides:
injectExportableParams
in classCoreContext
- Parameters:
input
- pass exportable params in here.
-
circuitBreaker
-
localSocket
-
remoteSocket
-
serviceType
-
bucket
-
channelId
-
authenticationStatus
-
tlsHandshakeFailure
-