Packages

o

com.twitter.finagle.util

defaultTimerProbeSlowTasks

object defaultTimerProbeSlowTasks extends GlobalFlag[Boolean]

Configures whether to probe for slow tasks executing in the default Timer.

When enabled, tasks are monitored to detect tasks that are slow to complete. A counter of the number of slow tasks is registered at finagle/timer/slow. Additionally, if a slow task is observed executing the stack traces of all threads will be logged at level WARN. The maximum runtime and minimum interval between logging stack traces can be tuned using the global flags c.t.f.u.defaultTimerSlowTaskMaxRuntime and c.t.f.u.defaultTimerSlowTaskLogMinInterval, defined below.

Note

Observation of a slow task in progress is performed when scheduling additional work and is thus susceptible to false negatives.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. defaultTimerProbeSlowTasks
  2. GlobalFlag
  3. Flag
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. def apply(): Boolean
    Definition Classes
    Flag
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. def defaultString(): String
    Definition Classes
    Flag
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. val flaggable: Flaggable[Boolean]
    Attributes
    protected
    Definition Classes
    Flag
  12. def get: Option[Boolean]
    Definition Classes
    Flag
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def getGlobalFlag: Flag[_]
    Definition Classes
    GlobalFlag
  15. def getValue: Option[Boolean]
    Attributes
    protected
    Definition Classes
    GlobalFlag → Flag
  16. def getWithDefault: Option[Boolean]
    Definition Classes
    Flag
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. val help: String
    Definition Classes
    Flag
  19. def isDefined: Boolean
    Definition Classes
    Flag
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def let[R](t: Boolean)(f: ⇒ R): R
    Definition Classes
    Flag
  22. def letClear[R](f: ⇒ R): R
    Definition Classes
    Flag
  23. val name: String
    Definition Classes
    GlobalFlag → Flag
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def noArgumentOk: Boolean
    Definition Classes
    Flag
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. def parse(): Unit
    Definition Classes
    Flag
  29. def parse(raw: String): Unit
    Definition Classes
    Flag
  30. def parsingDone: Boolean
    Attributes
    protected[this]
    Definition Classes
    GlobalFlag → Flag
  31. def reset(): Unit
    Definition Classes
    Flag
  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    Flag → AnyRef → Any
  34. def usageString: String
    Definition Classes
    Flag
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from GlobalFlag[Boolean]

Inherited from Flag[Boolean]

Inherited from AnyRef

Inherited from Any

Ungrouped