public static class BinaryClusterDiscoveryEndpoint.Builder extends Object
BinaryClusterDiscoveryEndpoint
Constructor and Description |
---|
Builder()
Basic constructor.
|
Modifier and Type | Method and Description |
---|---|
BinaryClusterDiscoveryEndpoint |
build()
Build the discovery endpoint configuration
|
BinaryClusterDiscoveryEndpoint.Builder |
withClientConfig(TarantoolClientConfig clientConfig)
Specify the client configuration for connecting to the discovery endpoints.
|
BinaryClusterDiscoveryEndpoint.Builder |
withEndpointProvider(TarantoolClusterAddressProvider endpointProvider)
Specify address provider for the discovery endpoints
|
BinaryClusterDiscoveryEndpoint.Builder |
withEntryFunction(String discoveryFunction)
Specify the function name to invoke in the discovery endpoint for getting the list of nodes.
|
public BinaryClusterDiscoveryEndpoint.Builder withEntryFunction(String discoveryFunction)
discoveryFunction
- the function name, should not be nullpublic BinaryClusterDiscoveryEndpoint.Builder withEndpointProvider(TarantoolClusterAddressProvider endpointProvider)
endpointProvider
- discovery endpoint address privider, should not be nullBinaryClusterDiscoveryEndpoint.setEndpointProvider(TarantoolClusterAddressProvider)
public BinaryClusterDiscoveryEndpoint.Builder withClientConfig(TarantoolClientConfig clientConfig)
clientConfig
- tarantool client configurationpublic BinaryClusterDiscoveryEndpoint build()
BinaryClusterDiscoveryEndpoint
instanceCopyright © 2025 Picodata. All rights reserved.