Enum Class IQueueHandler.ResultStatus

java.lang.Object
java.lang.Enum<IQueueHandler.ResultStatus>
org.apache.solr.crossdc.common.IQueueHandler.ResultStatus
All Implemented Interfaces:
Serializable, Comparable<IQueueHandler.ResultStatus>, Constable
Enclosing interface:
IQueueHandler<T>

public static enum IQueueHandler.ResultStatus extends Enum<IQueueHandler.ResultStatus>
  • Enum Constant Details

    • HANDLED

      public static final IQueueHandler.ResultStatus HANDLED
      Item was successfully processed
    • NOT_HANDLED_SHUTDOWN

      public static final IQueueHandler.ResultStatus NOT_HANDLED_SHUTDOWN
      Item was not processed, and the consumer should shutdown
    • FAILED_RETRY

      public static final IQueueHandler.ResultStatus FAILED_RETRY
      Item processing failed, and the item should be retried immediately
    • FAILED_NO_RETRY

      public static final IQueueHandler.ResultStatus FAILED_NO_RETRY
      Item processing failed, and the item should not be retried (unsuccessfully processed)
    • FAILED_RESUBMIT

      public static final IQueueHandler.ResultStatus FAILED_RESUBMIT
      Item processing failed, and the item should be re-queued
  • Method Details

    • values

      public static IQueueHandler.ResultStatus[] 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 IQueueHandler.ResultStatus 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