Class

com.twitter.finagle

FailedFastException

Related Doc: package finagle

Permalink

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.

Linear Supertypes
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()

    Permalink
  2. new FailedFastException(message: String)

    Permalink
  3. new FailedFastException(message: String, flags: Long = FailureFlags.Empty)

    Permalink

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. final def addSuppressed(arg0: Throwable): Unit

    Permalink
    Definition Classes
    Throwable
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def asNonRetryable: FailedFastException

    Permalink

    This as a non-retryable failure.

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

    Definition Classes
    FailureFlags
  7. def asRejected: FailedFastException

    Permalink

    This as a rejected failure.

    This as a rejected failure. This does not mutate.

    Definition Classes
    FailureFlags
  8. def clone(): AnyRef

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

    Permalink

    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.

    Attributes
    protected
    Definition Classes
    FailedFastException → FailureFlags
  10. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def exceptionMessage(): String

    Permalink
    Definition Classes
    HasRemoteInfo
  13. def fillInStackTrace(): Throwable

    Permalink
    Definition Classes
    NoStackTrace → Throwable
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def getCause(): Throwable

    Permalink
    Definition Classes
    Throwable
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def getLocalizedMessage(): String

    Permalink
    Definition Classes
    Throwable
  18. def getMessage(): String

    Permalink
    Definition Classes
    HasRemoteInfo → Throwable
  19. def getStackTrace(): Array[StackTraceElement]

    Permalink
    Definition Classes
    RequestException → Throwable
  20. final def getSuppressed(): Array[Throwable]

    Permalink
    Definition Classes
    Throwable
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. def initCause(arg0: Throwable): Throwable

    Permalink
    Definition Classes
    Throwable
  23. def isFlagged(which: Long): Boolean

    Permalink

    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
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. def logLevel: Level

    Permalink
    Definition Classes
    FailedFastException → HasLogLevel
  26. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  29. def printStackTrace(arg0: PrintWriter): Unit

    Permalink
    Definition Classes
    Throwable
  30. def printStackTrace(arg0: PrintStream): Unit

    Permalink
    Definition Classes
    Throwable
  31. def printStackTrace(): Unit

    Permalink
    Definition Classes
    Throwable
  32. def remoteInfo(): RemoteInfo

    Permalink
    Definition Classes
    HasRemoteInfo
  33. var serviceName: String

    Permalink
    Definition Classes
    SourcedException
  34. def setStackTrace(arg0: Array[StackTraceElement]): Unit

    Permalink
    Definition Classes
    Throwable
  35. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from FailureFlags[FailedFastException]

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