Module org.elasticsearch.security
Enum Class LdapLoadBalancing
java.lang.Object
java.lang.Enum<LdapLoadBalancing>
org.elasticsearch.xpack.security.authc.ldap.support.LdapLoadBalancing
- All Implemented Interfaces:
Serializable,Comparable<LdapLoadBalancing>,Constable
Enumeration representing the various supported
ServerSet types that can be used with out built in realms.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic LdapLoadBalancingresolve(RealmConfig realmConfig) static com.unboundid.ldap.sdk.ServerSetserverSet(String[] addresses, int[] ports, RealmConfig realmConfig, SocketFactory socketFactory, com.unboundid.ldap.sdk.LDAPConnectionOptions options) toString()static LdapLoadBalancingReturns the enum constant of this class with the specified name.static LdapLoadBalancing[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FAILOVER
-
ROUND_ROBIN
-
DNS_ROUND_ROBIN
-
DNS_FAILOVER
-
-
Field Details
-
LOAD_BALANCE_TYPE_DEFAULT
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<LdapLoadBalancing>
-
resolve
-
serverSet
public static com.unboundid.ldap.sdk.ServerSet serverSet(String[] addresses, int[] ports, RealmConfig realmConfig, @Nullable SocketFactory socketFactory, @Nullable com.unboundid.ldap.sdk.LDAPConnectionOptions options)
-