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 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:
      initialize in interface org.springframework.boot.BootstrapRegistryInitializer