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, cause: Throwable)

    Permalink
  4. new FailedFastException(message: String, cause: Throwable, 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.

    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

    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. val flags: Long

    Permalink
    Definition Classes
    FailedFastExceptionFailureFlags
  16. def getCause(): Throwable

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Throwable
  24. 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
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. def logLevel: Level

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    HasRemoteInfo
  34. var serviceName: String

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @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