Package com.couchbase.client.core.node
Class NodeContext
java.lang.Object
com.couchbase.client.core.cnc.AbstractContext
com.couchbase.client.core.CoreContext
com.couchbase.client.core.node.NodeContext
- All Implemented Interfaces:
Context
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.couchbase.client.core.cnc.Context
Context.ExportFormat -
Constructor Summary
ConstructorsConstructorDescriptionNodeContext(CoreContext ctx, NodeIdentifier nodeIdentifier, Optional<String> alternateAddress) -
Method Summary
Modifier and TypeMethodDescriptionReturns the alternate address identifier, if present.voidinjectExportableParams(Map<String, Object> input) This method needs to be implemented by the actual context implementations to inject the params they need for exporting.Methods inherited from class com.couchbase.client.core.CoreContext
alternateAddress, authenticator, core, environment, idMethods inherited from class com.couchbase.client.core.cnc.AbstractContext
exportAsMap, exportAsString, toString
-
Constructor Details
-
NodeContext
public NodeContext(CoreContext ctx, NodeIdentifier nodeIdentifier, Optional<String> alternateAddress)
-
-
Method Details
-
remoteHostname
-
alternateAddress
Description copied from class:CoreContextReturns the alternate address identifier, if present.- Overrides:
alternateAddressin classCoreContext
-
injectExportableParams
Description copied from class:AbstractContextThis method needs to be implemented by the actual context implementations to inject the params they need for exporting.- Overrides:
injectExportableParamsin classCoreContext- Parameters:
input- pass exportable params in here.
-