public static class MultiDbClient.Builder extends MultiDbClientBuilder<MultiDbClient>
MultiDbClient.
Obtain an instance via MultiDbClient.builder().
cache, cacheConfig, clientConfig, commandExecutor, commandObjects, connectionProvider, jsonObjectMapper, keyPreProcessor, poolConfig, searchDialect| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
protected MultiDbClient |
createClient()
Creates the specific client instance with the provided components.
|
createDefaultCommandExecutor, createDefaultConnectionProvider, databaseSwitchListener, multiDbConfig, self, validateSpecificConfigurationapplyCommandObjectsConfiguration, build, cache, cacheConfig, clientConfig, commandExecutor, connectionProvider, createDefaultClientConfig, createDefaultCommandObjects, jsonObjectMapper, keyPreProcessor, poolConfig, searchDialect, validateCommonConfigurationprotected MultiDbClient createClient()
AbstractClientBuilderThis method is called by the generic build() method to instantiate the concrete client type. Each builder implementation should create their specific client type (JedisPooled, JedisCluster, etc.) using the parameters provided to the builder.
createClient in class AbstractClientBuilder<MultiDbClientBuilder<MultiDbClient>,MultiDbClient>Copyright © 2025. All rights reserved.