Package com.zeroc.Ice

Enum Class CompressBatch

java.lang.Object
java.lang.Enum<CompressBatch>
com.zeroc.Ice.CompressBatch
All Implemented Interfaces:
Serializable, Comparable<CompressBatch>, Constable

public enum CompressBatch extends Enum<CompressBatch>
The batch compression option when flushing queued batch requests.
  • Enum Constant Details

    • Yes

      public static final CompressBatch Yes
      Compress the batch requests.
    • No

      public static final CompressBatch No
      Don't compress the batch requests.
    • BasedOnProxy

      public static final CompressBatch BasedOnProxy
      Compress the batch requests if at least one request was made on a compressed proxy.
  • Method Details

    • values

      public static CompressBatch[] 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

      public static CompressBatch valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • value

      public int value()
    • valueOf

      public static CompressBatch valueOf(int v)
      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 name
      NullPointerException - if the argument is null