| Modifier and Type | Method and Description |
|---|---|
static Core |
Core.create(CoreEnvironment environment,
Authenticator authenticator,
Set<SeedNode> seedNodes)
Deprecated.
Please use
Core.create(CoreEnvironment, Authenticator, ConnectionString) instead. |
| Constructor and Description |
|---|
SeedNodesUpdatedEvent(Context context,
Set<SeedNode> oldSeedNodes,
Set<SeedNode> newSeedNodes) |
SeedNodesUpdatedEvent(Context context,
Set<SeedNode> oldSeedNodes,
Set<SeedNode> newSeedNodes) |
| Constructor and Description |
|---|
CoreCreatedEvent(CoreContext context,
CoreEnvironment environment,
Set<SeedNode> seedNodes,
int numCoreInstances,
ConnectionString connectionString) |
| Modifier and Type | Method and Description |
|---|---|
Flux<Set<SeedNode>> |
DefaultConfigurationProvider.seedNodes() |
Flux<Set<SeedNode>> |
ConfigurationProvider.seedNodes()
Returns a stream of seed node sets sourced from the server's global config or bucket config.
|
| Constructor and Description |
|---|
DefaultConfigurationProvider(Core core,
Set<SeedNode> seedNodes) |
DefaultConfigurationProvider(Core core,
Set<SeedNode> seedNodes,
ConnectionString connectionString)
Creates a new configuration provider.
|
| Modifier and Type | Field and Description |
|---|---|
static Set<SeedNode> |
SeedNode.LOCALHOST
Seed node set pointing to localhost with default ports.
|
| Modifier and Type | Method and Description |
|---|---|
static SeedNode |
SeedNode.create(String address)
Creates a seed node from a hostname and the default ports.
|
static SeedNode |
SeedNode.create(String address,
Optional<Integer> kvPort,
Optional<Integer> clusterManagerPort)
Creates a seed node from a hostname and custom ports.
|
SeedNode |
SeedNode.withKvPort(Integer port)
Returns a copy of this seed node, with the given KV port.
|
SeedNode |
SeedNode.withManagerPort(Integer port)
Returns a copy of this seed node, with the given Manager port.
|
SeedNode |
SeedNode.withProtostellarPort(Integer port)
Returns a copy of this seed node, with the given Protostellar port.
|
| Modifier and Type | Method and Description |
|---|---|
static Set<SeedNode> |
ConnectionStringUtil.seedNodesFromConnectionString(ConnectionString connectionString,
boolean dnsSrvEnabled,
boolean tlsEnabled,
EventBus eventBus)
Populates a list of seed nodes from the connection string.
|
| Modifier and Type | Method and Description |
|---|---|
static ConnectionString |
ConnectionStringUtil.asConnectionString(Collection<SeedNode> nodes)
Returns a synthetic connection string corresponding to the seed nodes.
|
Copyright © 2024 Couchbase, Inc.. All rights reserved.