Object/Trait

com.twitter.finagle

FailureFlags

Related Docs: trait FailureFlags | package finagle

Permalink

object FailureFlags extends Serializable

FailureFlags may be applied to any Failure/Exception encountered during the handling of a request.

See also

JavaFailureFlags for Java compatibility.

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FailureFlags
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val Empty: Long

    Permalink
  5. val Interrupted: Long

    Permalink

    Interrupted indicates that the error was caused due to an interruption.

    Interrupted indicates that the error was caused due to an interruption. (e.g., by invoking com.twitter.util.Future.raise.)

  6. val NonRetryable: Long

    Permalink

    NonRetryable indicates that the action that caused this failure should not be re-issued.

    NonRetryable indicates that the action that caused this failure should not be re-issued. This failure should be propagated back along the call chain as far as possible.

  7. val Rejected: Long

    Permalink

    Rejected indicates that the work was rejected and therefore cannot be completed.

    Rejected indicates that the work was rejected and therefore cannot be completed. This may indicate an overload condition.

  8. val Retryable: Long

    Permalink

    Retryable indicates that the action that caused the failure is known to be safe to retry.

    Retryable indicates that the action that caused the failure is known to be safe to retry. Finagle client's RequeueFilter will automatically retry any such failures. Note that this is independent of any user-configured retry logic. This is Finagle-internal.

  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def flagsOf(e: Throwable): Set[String]

    Permalink

    Expose flags of a given throwable as strings.

    Expose flags of a given throwable as strings. Here, Retryable is named "restartable" for now to maintain compatibility with existing stats.

  15. def flagsOf(flags: Long): Set[String]

    Permalink

    Expose flags as strings.

    Expose flags as strings. Used for stats reporting. Here, Retryable is named "restartable" for now to maintain compatibility with existing stats.

  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. def isFlagged(flags: Long)(t: Throwable): Boolean

    Permalink

    A way for non-finagle folks to test if a throwable is flagged

  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped