object Dtab extends DtabCompanionBase with Serializable
- Alphabetic
- By Inheritance
- Dtab
- Serializable
- DtabCompanionBase
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 asInstanceOf[T0]: T0
- Definition Classes
- Any
- var base: Dtab
The base, or "system", or "global", delegation table applies to every request in this process.
The base, or "system", or "global", delegation table applies to every request in this process. It is generally set at process startup, and not changed thereafter.
- Definition Classes
- DtabCompanionBase
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val empty: Dtab
An empty delegation table.
An empty delegation table.
- Definition Classes
- DtabCompanionBase
- val emptyDtab: Dtab
An empty delegation table.
An empty delegation table.
Use this one if you're coming from Java.
- Definition Classes
- DtabCompanionBase
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit val equiv: Equiv[Dtab]
- Definition Classes
- DtabCompanionBase
- lazy val fail: Dtab
A failing delegation table.
A failing delegation table.
- Definition Classes
- DtabCompanionBase
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- implicit val flaggable: Flaggable[Dtab]
implicit conversion from com.twitter.finagle.Dtab to com.twitter.app.Flaggable, allowing Dtabs to be easily used as com.twitter.app.Flags
implicit conversion from com.twitter.finagle.Dtab to com.twitter.app.Flaggable, allowing Dtabs to be easily used as com.twitter.app.Flags
- Definition Classes
- DtabCompanionBase
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def limited: Dtab
The limited, or "non-propagated, per-request", delegation table applies to the current Local scope which is usually propagated from the upstream.
The limited, or "non-propagated, per-request", delegation table applies to the current Local scope which is usually propagated from the upstream. Finagle uses the Dtab
Dtab.base ++ Dtab.limited ++ Dtab.local
to bind Paths via a com.twitter.finagle.naming.NameInterpreter.Limited's scope is dictated by Local.
Unlike
local
,limited
is not propagated to the entire request graph.- Definition Classes
- DtabCompanionBase
- def limited_=(dtab: Dtab): Unit
- Definition Classes
- DtabCompanionBase
- def local: Dtab
The local, or "per-request", delegation table applies to the current Local scope which is usually defined on a per-request basis.
The local, or "per-request", delegation table applies to the current Local scope which is usually defined on a per-request basis. Finagle uses the Dtab
Dtab.base ++ Dtab.limited ++ Dtab.local
to bind Paths via a com.twitter.finagle.naming.NameInterpreter.Local's scope is dictated by Local.
The local dtab is serialized into outbound requests when supported protocols are used. (Http, Thrift via TTwitter, Mux, and ThriftMux are among these.) The upshot is that
local
is defined for the entire request graph, so that a local dtab defined here will apply to downstream services as well.- Definition Classes
- DtabCompanionBase
- def local_=(dtab: Dtab): Unit
- Definition Classes
- DtabCompanionBase
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newBuilder: DtabBuilder
Scala collection plumbing required to build new dtabs
Scala collection plumbing required to build new dtabs
- Definition Classes
- DtabCompanionBase
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def read(s: String): Dtab
Parse a Dtab from string
s
with concrete syntaxParse a Dtab from string
s
with concrete syntaxdtab ::= dentry ';' dtab | dentry
where the production
dentry
is from the grammar documented in Dentry.read- Definition Classes
- DtabCompanionBase
- def setBase(dtab: Dtab): Unit
Java API for
base_=
Java API for
base_=
- Definition Classes
- DtabCompanionBase
- def setLimited(dtab: Dtab): Unit
Java API for
limited_=
Java API for
limited_=
- Definition Classes
- DtabCompanionBase
- def setLocal(dtab: Dtab): Unit
Java API for
local_=
Java API for
local_=
- Definition Classes
- DtabCompanionBase
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unwind[T](f: => T): T
Unwind
provides an api to create scoped, local and limited Dtabs and restore the original state upon exit.Unwind
provides an api to create scoped, local and limited Dtabs and restore the original state upon exit.- f
a function to be executed with the scoped Dtabs
- Definition Classes
- DtabCompanionBase
- 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()