Class FixedEnsembleProvider

java.lang.Object
org.apache.curator.ensemble.fixed.FixedEnsembleProvider
All Implemented Interfaces:
Closeable, AutoCloseable, EnsembleProvider

public class FixedEnsembleProvider extends Object implements EnsembleProvider
Standard ensemble provider that wraps a fixed connection string
  • Constructor Details

    • FixedEnsembleProvider

      public FixedEnsembleProvider(String connectionString)
      The connection string to use
      Parameters:
      connectionString - connection string
    • FixedEnsembleProvider

      public FixedEnsembleProvider(String connectionString, boolean updateServerListEnabled)
      The connection string to use
      Parameters:
      connectionString - connection string
      updateServerListEnabled - if true, allow Curator to call ZooKeeper.updateServerList(String)
  • Method Details