public class BinaryClusterDiscoveryEndpoint extends Object implements TarantoolClusterDiscoveryEndpoint
BinaryDiscoveryClusterAddressProvider
configurationModifier and Type | Class and Description |
---|---|
static class |
BinaryClusterDiscoveryEndpoint.Builder
Builder for
BinaryClusterDiscoveryEndpoint |
Constructor and Description |
---|
BinaryClusterDiscoveryEndpoint()
Create an instance
|
Modifier and Type | Method and Description |
---|---|
static BinaryClusterDiscoveryEndpoint.Builder |
builder()
Builder for
BinaryClusterDiscoveryEndpoint |
TarantoolClientConfig |
getClientConfig()
Get client configuration for connecting to the set of the discovery endpoints
|
String |
getDiscoveryFunction()
Get discovery function name
|
TarantoolClusterAddressProvider |
getEndpointProvider()
Get service discovery endpoint provider
|
void |
setClientConfig(TarantoolClientConfig clientConfig)
Set client configuration for connecting to the set of the discovery endpoints.
|
void |
setDiscoveryFunction(String discoveryFunction)
Set discovery function name
|
void |
setEndpointProvider(TarantoolClusterAddressProvider endpointProvider)
Set service discovery endpoint provider
|
public BinaryClusterDiscoveryEndpoint()
BinaryDiscoveryClusterAddressProvider
public TarantoolClusterAddressProvider getEndpointProvider()
public void setEndpointProvider(TarantoolClusterAddressProvider endpointProvider)
endpointProvider
- a tarantool address provider instancepublic TarantoolClientConfig getClientConfig()
public void setClientConfig(TarantoolClientConfig clientConfig)
clientConfig
- tarantool client configurationpublic String getDiscoveryFunction()
public void setDiscoveryFunction(String discoveryFunction)
discoveryFunction
- discovery function namepublic static BinaryClusterDiscoveryEndpoint.Builder builder()
BinaryClusterDiscoveryEndpoint
Copyright © 2025 Picodata. All rights reserved.