com.netflix.eureka.resources
Enum ResponseCache.Key.EntityType
java.lang.Object
java.lang.Enum<ResponseCache.Key.EntityType>
com.netflix.eureka.resources.ResponseCache.Key.EntityType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ResponseCache.Key.EntityType>
- Enclosing class:
- ResponseCache.Key
public static enum ResponseCache.Key.EntityType
- extends java.lang.Enum<ResponseCache.Key.EntityType>
An enum to define the entity that is stored in this cache for this key.
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Application
public static final ResponseCache.Key.EntityType Application
VIP
public static final ResponseCache.Key.EntityType VIP
SVIP
public static final ResponseCache.Key.EntityType SVIP
values
public static ResponseCache.Key.EntityType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ResponseCache.Key.EntityType c : ResponseCache.Key.EntityType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ResponseCache.Key.EntityType valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null