Package com.zeroc.Ice
Enum Class CompressBatch
- All Implemented Interfaces:
Serializable
,Comparable<CompressBatch>
,Constable
The batch compression option when flushing queued batch requests.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCompress the batch requests if at least one request was made on a compressed proxy.Don't compress the batch requests.Compress the batch requests. -
Method Summary
Modifier and TypeMethodDescriptionint
value()
static CompressBatch
valueOf
(int v) Returns the enum constant of this class with the specified name.static CompressBatch
Returns the enum constant of this class with the specified name.static CompressBatch[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Yes
Compress the batch requests. -
No
Don't compress the batch requests. -
BasedOnProxy
Compress the batch requests if at least one request was made on a compressed proxy.
-
-
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
-
value
public int value() -
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:
v
- 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
-