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, idexportAsMap, exportAsString, toStringpublic NodeContext(CoreContext ctx, NodeIdentifier nodeIdentifier, Optional<String> alternateAddress)
public String remoteHostname()
public Optional<String> alternateAddress()
CoreContextalternateAddress in class CoreContextpublic void injectExportableParams(Map<String,Object> input)
AbstractContextinjectExportableParams in class CoreContextinput - pass exportable params in here.Copyright © 2024 Couchbase, Inc.. All rights reserved.