Class Config


  • public class Config
    extends java.lang.Object
    Returns configuration information from minions.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String MASTER
      The configuration key for the master's hostname.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Config()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static LocalCall<java.lang.String> get​(java.lang.String key)
      Returns a configuration parameter.
      • Methods inherited from class java.lang.Object

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

      • MASTER

        public static final java.lang.String MASTER
        The configuration key for the master's hostname.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Config

        private Config()
    • Method Detail

      • get

        public static LocalCall<java.lang.String> get​(java.lang.String key)
        Returns a configuration parameter.
        Parameters:
        key - the parameter name
        Returns:
        the LocalCall object to make the call