Class ServiceContext
java.lang.Object
com.couchbase.client.core.cnc.AbstractContext
com.couchbase.client.core.CoreContext
com.couchbase.client.core.service.ServiceContext
- All Implemented Interfaces:
Context
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.couchbase.client.core.cnc.Context
Context.ExportFormat
-
Constructor Summary
ConstructorDescriptionServiceContext
(CoreContext ctx, String remoteHostname, int remotePort, ServiceType serviceType, Optional<String> bucket) -
Method Summary
Modifier and TypeMethodDescriptionbucket()
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.int
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
-
ServiceContext
public ServiceContext(CoreContext ctx, String remoteHostname, int remotePort, ServiceType serviceType, Optional<String> bucket)
-
-
Method Details
-
remoteHostname
-
remotePort
public int remotePort() -
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.
-
serviceType
-
bucket
-