com.netflix.eureka.resources
Class ResponseCache.Key
java.lang.Object
com.netflix.eureka.resources.ResponseCache.Key
- Enclosing class:
- ResponseCache
public static class ResponseCache.Key
- extends java.lang.Object
The key for the cached payload.
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ResponseCache.Key
public ResponseCache.Key(ResponseCache.Key.EntityType entityType,
java.lang.String entityName,
ResponseCache.KeyType type,
Version v)
ResponseCache.Key
public ResponseCache.Key(ResponseCache.Key.EntityType entityType,
java.lang.String entityName,
@Nullable
java.lang.String[] regions,
ResponseCache.KeyType type,
Version v)
getName
public java.lang.String getName()
getHashKey
public java.lang.String getHashKey()
getType
public ResponseCache.KeyType getType()
getVersion
public Version getVersion()
getEntityType
public ResponseCache.Key.EntityType getEntityType()
hasRegions
public boolean hasRegions()
getRegions
public java.lang.String[] getRegions()
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals in class java.lang.Object