Package com.yahoo.vespa.config
Class ConfigCacheKey
- java.lang.Object
-
- com.yahoo.vespa.config.ConfigCacheKey
-
public class ConfigCacheKey extends java.lang.Object
A ConfigKey that also uses the def MD5 sum. Used for caching when def payload is user provided.- Author:
- Vegard Havdal
-
-
Constructor Summary
Constructors Constructor Description ConfigCacheKey(ConfigKey<?> key, java.lang.String defMd5)
Constructs a new server key based on the contents of the givenConfigKey
and the def md5 sum.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getDefMd5()
The def md5 sum of this keyConfigKey<?>
getKey()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
getDefMd5
public java.lang.String getDefMd5()
The def md5 sum of this key- Returns:
- md5 sum
-
getKey
public ConfigKey<?> getKey()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-