Enum Class ClientConfiguration.ClientQoS
java.lang.Object
java.lang.Enum<ClientConfiguration.ClientQoS>
com.palantir.conjure.java.client.config.ClientConfiguration.ClientQoS
- All Implemented Interfaces:
Serializable, Comparable<ClientConfiguration.ClientQoS>, Constable
- Enclosing interface:
ClientConfiguration
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDisables the client-side sympathetic QoS.Default. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ClientConfiguration.ClientQoS[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ENABLED
Default. -
DANGEROUS_DISABLE_SYMPATHETIC_CLIENT_QOS
Disables the client-side sympathetic QoS.This turns off all client-side concurrency limiters / queueing and immediately submits requests to the network.
Consumers should almost never use this option, reserving it for where there are known issues with the QoS interaction. Please consult project maintainers if applying this option.
-
-
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
-