public class Key
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Key.EntityType
An enum to define the entity that is stored in this cache for this key.
|
static class |
Key.KeyType |
| Constructor and Description |
|---|
Key(Key.EntityType entityType,
java.lang.String entityName,
Key.KeyType type,
Version v,
com.netflix.appinfo.EurekaAccept eurekaAccept) |
Key(Key.EntityType entityType,
java.lang.String entityName,
Key.KeyType type,
Version v,
com.netflix.appinfo.EurekaAccept eurekaAccept,
java.lang.String[] regions) |
| Modifier and Type | Method and Description |
|---|---|
Key |
cloneWithoutRegions() |
boolean |
equals(java.lang.Object other) |
Key.EntityType |
getEntityType() |
com.netflix.appinfo.EurekaAccept |
getEurekaAccept() |
java.lang.String |
getHashKey() |
java.lang.String |
getName() |
java.lang.String[] |
getRegions() |
Key.KeyType |
getType() |
Version |
getVersion() |
int |
hashCode() |
boolean |
hasRegions() |
java.lang.String |
toStringCompact() |
public Key(Key.EntityType entityType, java.lang.String entityName, Key.KeyType type, Version v, com.netflix.appinfo.EurekaAccept eurekaAccept)
public Key(Key.EntityType entityType, java.lang.String entityName, Key.KeyType type, Version v, com.netflix.appinfo.EurekaAccept eurekaAccept, @Nullable java.lang.String[] regions)
public java.lang.String getName()
public java.lang.String getHashKey()
public Key.KeyType getType()
public Version getVersion()
public com.netflix.appinfo.EurekaAccept getEurekaAccept()
public Key.EntityType getEntityType()
public boolean hasRegions()
public java.lang.String[] getRegions()
public Key cloneWithoutRegions()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic java.lang.String toStringCompact()