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.
- Alphabetic
- By Inheritance
- FailureFlags
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val Empty: Long
- val Interrupted: Long
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.)
- val NonRetryable: Long
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.
- val Rejected: Long
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.
- val Retryable: Long
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. - final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def flagsOf(e: Throwable): Set[String]
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.
- def flagsOf(flags: Long): Set[String]
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.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isFlagged(flags: Long)(t: Throwable): Boolean
A way for non-finagle folks to test if a throwable is flagged
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()