Packages

c

com.twitter.finagle

FailedFastException

class FailedFastException extends RequestException with WriteException with HasLogLevel with FailureFlags[FailedFastException]

Used by com.twitter.finagle.service.FailFastFactory to indicate that a request failed because all hosts in the cluster to which the client is connected have been marked as failed. See com.twitter.finagle.service.FailFastFactory for details on this behavior.

See also

The user guide for additional details.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FailedFastException
  2. FailureFlags
  3. HasLogLevel
  4. WriteException
  5. RequestException
  6. SourcedException
  7. HasRemoteInfo
  8. NoStackTrace
  9. Exception
  10. Throwable
  11. Serializable
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FailedFastException()
  2. new FailedFastException(message: String)
  3. new FailedFastException(message: String, cause: Throwable)
  4. new FailedFastException(message: String, cause: Throwable, flags: Long = FailureFlags.Empty)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def addSuppressed(arg0: Throwable): Unit
    Definition Classes
    Throwable
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def asNonRetryable: FailedFastException

    This as a non-retryable failure.

    This as a non-retryable failure. This does not mutate.

    Definition Classes
    FailureFlags
  7. def asRejected: FailedFastException

    This as a rejected failure.

    This as a rejected failure. This does not mutate.

    Definition Classes
    FailureFlags
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. def copyWithFlags(newFlags: Long): FailedFastException

    A copy of this object with the given flags replacing the current flags.

    A copy of this object with the given flags replacing the current flags. The caller of this method should check to see if a copy is necessary before calling.

    As this is an internal API, the other Throwable fields such as the cause and stack trace should be handled by callers.

    Attributes
    protected
    Definition Classes
    FailedFastExceptionFailureFlags
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def exceptionMessage(): String
    Definition Classes
    HasRemoteInfo
  13. def fillInStackTrace(): Throwable
    Definition Classes
    NoStackTrace → Throwable
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. val flags: Long
    Definition Classes
    FailedFastExceptionFailureFlags
  16. def getCause(): Throwable
    Definition Classes
    Throwable
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def getLocalizedMessage(): String
    Definition Classes
    Throwable
  19. def getMessage(): String
    Definition Classes
    HasRemoteInfo → Throwable
  20. def getStackTrace(): Array[StackTraceElement]
    Definition Classes
    RequestException → Throwable
  21. final def getSuppressed(): Array[Throwable]
    Definition Classes
    Throwable
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def initCause(arg0: Throwable): Throwable
    Definition Classes
    Throwable
  24. def isFlagged(which: Long): Boolean

    Test if this is flagged with a particular set of flags

    Test if this is flagged with a particular set of flags

    Definition Classes
    FailureFlags
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def logLevel: Level
    Definition Classes
    FailedFastException → HasLogLevel
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. def printStackTrace(arg0: PrintWriter): Unit
    Definition Classes
    Throwable
  31. def printStackTrace(arg0: PrintStream): Unit
    Definition Classes
    Throwable
  32. def printStackTrace(): Unit
    Definition Classes
    Throwable
  33. def remoteInfo(): RemoteInfo
    Definition Classes
    HasRemoteInfo
  34. val serviceName: String
    Definition Classes
    SourcedException
  35. def setStackTrace(arg0: Array[StackTraceElement]): Unit
    Definition Classes
    Throwable
  36. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  37. def toString(): String
    Definition Classes
    Throwable → AnyRef → Any
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from HasLogLevel

Inherited from WriteException

Inherited from RequestException

Inherited from SourcedException

Inherited from HasRemoteInfo

Inherited from NoStackTrace

Inherited from Exception

Inherited from Throwable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped