Class ZookeeperBootstrapper
java.lang.Object
org.springframework.cloud.zookeeper.config.ZookeeperBootstrapper
- All Implemented Interfaces:
org.springframework.boot.BootstrapRegistryInitializer
public class ZookeeperBootstrapper
extends Object
implements org.springframework.boot.BootstrapRegistryInitializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncuratorFrameworkCustomizer(Function<org.springframework.boot.BootstrapContext, CuratorFrameworkCustomizer> curatorFrameworkCustomizer) ensembleProvider(Function<org.springframework.boot.BootstrapContext, org.apache.curator.ensemble.EnsembleProvider> ensembleProvider) voidinitialize(org.springframework.boot.BootstrapRegistry registry) retryPolicy(Function<org.springframework.boot.BootstrapContext, org.apache.curator.RetryPolicy> retryPolicy) tracerDriver(Function<org.springframework.boot.BootstrapContext, org.apache.curator.drivers.TracerDriver> tracerDriver)
-
Constructor Details
-
ZookeeperBootstrapper
public ZookeeperBootstrapper()
-
-
Method Details
-
retryPolicy
public ZookeeperBootstrapper retryPolicy(Function<org.springframework.boot.BootstrapContext, org.apache.curator.RetryPolicy> retryPolicy) -
ensembleProvider
public ZookeeperBootstrapper ensembleProvider(Function<org.springframework.boot.BootstrapContext, org.apache.curator.ensemble.EnsembleProvider> ensembleProvider) -
tracerDriver
public ZookeeperBootstrapper tracerDriver(Function<org.springframework.boot.BootstrapContext, org.apache.curator.drivers.TracerDriver> tracerDriver) -
curatorFrameworkCustomizer
public ZookeeperBootstrapper curatorFrameworkCustomizer(Function<org.springframework.boot.BootstrapContext, CuratorFrameworkCustomizer> curatorFrameworkCustomizer) -
initialize
public void initialize(org.springframework.boot.BootstrapRegistry registry) - Specified by:
initializein interfaceorg.springframework.boot.BootstrapRegistryInitializer
-