public static class EndpointDefinition.Type
extends java.lang.Enum
Modifier and Type | Field and Description |
---|---|
static EndpointDefinition.Type |
FO_ONLY
Fail-over to the next address in list if the active address fails.
|
static EndpointDefinition.Type |
RANDOM
Random selection of the addresses in the endpoint.
|
static EndpointDefinition.Type |
RANDOM_W_FO
Random selection with fail-over of the addresses.
|
static EndpointDefinition.Type |
RR_ONLY
Round-Robin selection of addresses in the endpoint.
|
static EndpointDefinition.Type |
RR_W_FO
Round-Robin address selection with fail-over.
|
static EndpointDefinition.Type |
SINGLE
Single address endpoint.
|
static EndpointDefinition.Type |
WEIGHTED
Weighted address selection, higher weight denotes more message percentage.
|
static EndpointDefinition.Type |
WEIGHTED_W_FO
Weighted address selection with failover.
|
Modifier and Type | Method and Description |
---|---|
static EndpointDefinition.Type |
enumOf(java.lang.String value)
Gives the enum value of the string representation
|
static EndpointDefinition.Type |
valueOf(java.lang.String name) |
static EndpointDefinition.Type[] |
values() |
public static final EndpointDefinition.Type SINGLE
public static final EndpointDefinition.Type RR_ONLY
public static final EndpointDefinition.Type RR_W_FO
public static final EndpointDefinition.Type FO_ONLY
public static final EndpointDefinition.Type WEIGHTED
public static final EndpointDefinition.Type WEIGHTED_W_FO
public static final EndpointDefinition.Type RANDOM
public static final EndpointDefinition.Type RANDOM_W_FO
public static EndpointDefinition.Type[] values()
public static EndpointDefinition.Type valueOf(java.lang.String name)
public static EndpointDefinition.Type enumOf(java.lang.String value)
value
- the string representation of enumjava.lang.IllegalArgumentException
- if the given string value doesn't correspond to any defined enum