Modifier and Type | Method and Description |
---|---|
static Core |
Core.create(CoreEnvironment environment,
Authenticator authenticator,
Set<SeedNode> seedNodes)
Creates a new
Core with the given environment. |
Constructor and Description |
---|
Core(CoreEnvironment environment,
Authenticator authenticator,
Set<SeedNode> seedNodes)
Creates a new Core.
|
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) |
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)
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.
|
Modifier and Type | Method and Description |
---|---|
static Set<SeedNode> |
ConnectionStringUtil.seedNodesFromConnectionString(String cs,
boolean dnsSrvEnabled,
boolean tlsEnabled,
EventBus eventBus)
Populates a list of seed nodes from the connection string.
|
Copyright © 2021 Couchbase, Inc.. All rights reserved.