public class NodeContext extends CoreContext
Context.ExportFormat
Constructor and Description |
---|
NodeContext(CoreContext ctx,
NodeIdentifier nodeIdentifier,
Optional<String> alternateAddress) |
Modifier and Type | Method and Description |
---|---|
Optional<String> |
alternateAddress()
Returns the alternate address identifier, if present.
|
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() |
alternateAddress, authenticator, core, environment, id
exportAsString, toString
public NodeContext(CoreContext ctx, NodeIdentifier nodeIdentifier, Optional<String> alternateAddress)
public String remoteHostname()
public Optional<String> alternateAddress()
CoreContext
alternateAddress
in class CoreContext
public void injectExportableParams(Map<String,Object> input)
AbstractContext
injectExportableParams
in class CoreContext
input
- pass exportable params in here.Copyright © 2020 Couchbase, Inc.. All rights reserved.