Class ConfigKey<CONFIGCLASS extends com.yahoo.config.ConfigInstance>

  • All Implemented Interfaces:
    Comparable<ConfigKey<?>>

    public class ConfigKey<CONFIGCLASS extends com.yahoo.config.ConfigInstance>
    extends Object
    implements Comparable<ConfigKey<?>>
    Class for holding the key when doing cache look-ups and other management of config instances.
    Author:
    hmusum
    • Constructor Detail

      • ConfigKey

        public ConfigKey​(String name,
                         String configIdString,
                         String namespace)
        Constructs new key
        Parameters:
        name - config definition name
        configIdString - Can be null.
        namespace - namespace for this config definition
      • ConfigKey

        public ConfigKey​(Class<CONFIGCLASS> clazz,
                         String configIdString)
        Creates a new instance from the given class and configId
        Parameters:
        clazz - Config class
        configIdString - config id, can be null.