Enum Class ErrorHandlingStrategy

java.lang.Object
java.lang.Enum<ErrorHandlingStrategy>
org.apache.nifi.processors.couchbase.ErrorHandlingStrategy
All Implemented Interfaces:
Serializable, Comparable<ErrorHandlingStrategy>, Constable

public enum ErrorHandlingStrategy extends Enum<ErrorHandlingStrategy>
  • Enum Constant Details

    • ConfigurationError

      public static final ErrorHandlingStrategy ConfigurationError
      Processor setting has to be fixed, in order to NOT call failing processor frequently, this it be yielded.
    • InvalidInput

      public static final ErrorHandlingStrategy InvalidInput
      The input FlowFile will be sent to the failure relationship for further processing without penalizing. Basically, the FlowFile shouldn't be sent this processor again unless the issue has been solved.
    • TemporalClusterError

      public static final ErrorHandlingStrategy TemporalClusterError
      Couchbase cluster is in unhealthy state. Retrying maybe successful, but it should be yielded for a while.
    • TemporalFlowFileError

      public static final ErrorHandlingStrategy TemporalFlowFileError
      The FlowFile was not processed successfully due to some temporal error related to this specific FlowFile or document. Retrying maybe successful, but it should be penalized for a while.
    • Fatal

      public static final ErrorHandlingStrategy Fatal
      The error can't be recovered without DataFlow Manager intervention.
  • Field Details

  • Constructor Details

  • Method Details

    • values

      public static ErrorHandlingStrategy[] 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 ErrorHandlingStrategy 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
    • result

    • penalty