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.
- Alphabetic
- By Inheritance
- FailedFastException
- FailureFlags
- HasLogLevel
- WriteException
- RequestException
- SourcedException
- HasRemoteInfo
- NoStackTrace
- Exception
- Throwable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
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
- final def addSuppressed(arg0: Throwable): Unit
- Definition Classes
- Throwable
- val appId: String
- Definition Classes
- SourcedException
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asNonRetryable: FailedFastException
This as a non-retryable failure.
This as a non-retryable failure. This does not mutate.
- Definition Classes
- FailureFlags
- def asRejected: FailedFastException
This as a rejected failure.
This as a rejected failure. This does not mutate.
- Definition Classes
- FailureFlags
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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
- FailedFastException → FailureFlags
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def exceptionMessage(): String
- Definition Classes
- HasRemoteInfo
- def fillInStackTrace(): Throwable
- Definition Classes
- NoStackTrace → Throwable
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- val flags: Long
- Definition Classes
- FailedFastException → FailureFlags
- def getCause(): Throwable
- Definition Classes
- Throwable
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getLocalizedMessage(): String
- Definition Classes
- Throwable
- def getMessage(): String
- Definition Classes
- HasRemoteInfo → Throwable
- def getStackTrace(): Array[StackTraceElement]
- Definition Classes
- RequestException → Throwable
- final def getSuppressed(): Array[Throwable]
- Definition Classes
- Throwable
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def initCause(arg0: Throwable): Throwable
- Definition Classes
- Throwable
- 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
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def logLevel: Level
- Definition Classes
- FailedFastException → HasLogLevel
- 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()
- def printStackTrace(arg0: PrintWriter): Unit
- Definition Classes
- Throwable
- def printStackTrace(arg0: PrintStream): Unit
- Definition Classes
- Throwable
- def printStackTrace(): Unit
- Definition Classes
- Throwable
- def remoteInfo(): RemoteInfo
- Definition Classes
- HasRemoteInfo
- val serviceName: String
- Definition Classes
- SourcedException
- def setStackTrace(arg0: Array[StackTraceElement]): Unit
- Definition Classes
- Throwable
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Throwable → 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()