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

java.lang.Object
com.yahoo.vespa.config.ConfigKey<CONFIGCLASS>
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 Details

    • 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.
    • ConfigKey

      public ConfigKey(String name, String configIdString, String namespace, Class<CONFIGCLASS> clazz)
  • Method Details