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
public class NodeContext extends CoreContext
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.couchbase.client.core.cnc.Context
Context.ExportFormat
-
-
Constructor Summary
Constructors Constructor Description NodeContext(CoreContext ctx, NodeIdentifier nodeIdentifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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.String
remoteHostname()
-
Methods inherited from class com.couchbase.client.core.CoreContext
core, environment, id
-
Methods inherited from class com.couchbase.client.core.cnc.AbstractContext
exportAsString, toString
-
-
-
-
Constructor Detail
-
NodeContext
public NodeContext(CoreContext ctx, NodeIdentifier nodeIdentifier)
-
-
Method Detail
-
remoteHostname
public String remoteHostname()
-
injectExportableParams
protected void injectExportableParams(Map<String,Object> input)
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.
-
-