|Enum Constant and Description|
DNS resolver is returning all the endpoints.
DNS resolver returns a loadbalanced set of endpoints and the traffic would be sent to the given endpoints.
|Modifier and Type||Method and Description|
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final DnsResponseType LOAD_BALANCER
It would not drain existing connections to other endpoints that are not part of this list.
public static final DnsResponseType ENDPOINTS
This also means that if an endpoint is missing, it would drain the current connections to the missing endpoint.
public static DnsResponseType values()
for (DnsResponseType c : DnsResponseType.values()) System.out.println(c);
public static DnsResponseType valueOf(java.lang.String name)
name- the name of the enum constant to be returned.
java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
java.lang.NullPointerException- if the argument is null