Enum Class FcCombineMetrics.Batch

java.lang.Object
java.lang.Enum<FcCombineMetrics.Batch>
org.frontcache.include.combine.FcCombineMetrics.Batch
All Implemented Interfaces:
Serializable, Comparable<FcCombineMetrics.Batch>, Constable
Enclosing class:
FcCombineMetrics

public static enum FcCombineMetrics.Batch extends Enum<FcCombineMetrics.Batch>
How a combined origin call ended.
  • Enum Constant Details

    • OK

      public static final FcCombineMetrics.Batch OK
      A well-formed envelope came back and its parts were applied.
    • UNSUPPORTED

      public static final FcCombineMetrics.Batch UNSUPPORTED
      A 2xx with no x-frontcache-combine header: this origin has no combine handler.
    • ERROR

      public static final FcCombineMetrics.Batch ERROR
      The origin claims support and sent something unusable - see FcCombineMetrics.Error. An origin bug.
    • FAILED

      public static final FcCombineMetrics.Batch FAILED
      The call itself did not produce an origin answer: timeout, circuit open, 5xx, bulkhead.
  • Method Details

    • values

      public static FcCombineMetrics.Batch[] 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 FcCombineMetrics.Batch 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
    • getResult

      public String getResult()