Class ZooKeepersConfigProvider

  • All Implemented Interfaces:
    com.yahoo.cloud.config.ZookeepersConfig.Producer, com.yahoo.config.ConfigInstance.Producer

    public class ZooKeepersConfigProvider
    extends java.lang.Object
    implements com.yahoo.cloud.config.ZookeepersConfig.Producer
    Author:
    Tony Vaagenes
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int zkPort  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void getConfig​(com.yahoo.cloud.config.ZookeepersConfig.Builder builder)  
      java.util.List<java.lang.String> getZooKeepers()  
      java.lang.String getZooKeepersConnectionSpec()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • zkPort

        public static final int zkPort
    • Constructor Detail

      • ZooKeepersConfigProvider

        public ZooKeepersConfigProvider​(java.util.List<Configserver> configServers)
    • Method Detail

      • getZooKeepers

        public java.util.List<java.lang.String> getZooKeepers()
      • getZooKeepersConnectionSpec

        public java.lang.String getZooKeepersConnectionSpec()
      • getConfig

        public void getConfig​(com.yahoo.cloud.config.ZookeepersConfig.Builder builder)
        Specified by:
        getConfig in interface com.yahoo.cloud.config.ZookeepersConfig.Producer