Package

com.twitter.finagle

context

Permalink

package context

Visibility
  1. Public
  2. All

Type Members

  1. trait Context extends AnyRef

    Permalink

    A context contains a number of let-delimited bindings.

    A context contains a number of let-delimited bindings. Bindings are indexed by type Key[A] in a typesafe manner. Later bindings shadow earlier ones.

    Note that the implementation of context maintains all bindings in a linked list; context lookup requires a linear search.

  2. class LocalContext extends Context

    Permalink

    A type of context that is local to the process.

    A type of context that is local to the process. The type of Key is also unique (generative) to each instance of this context, so that keys cannot be used across different instances of this context type.

  3. final class MarshalledContext extends Context

    Permalink

    A marshalled context contains bindings that may be marshalled and sent across process boundaries.

    A marshalled context contains bindings that may be marshalled and sent across process boundaries. A set of marshalled bindings may be restored in the local environment. Thus we can use marshalled contexts to propagate a set of bindings across a whole request tree.

Value Members

  1. object Contexts

    Permalink

    com.twitter.finagle.context.Contexts that are managed by Finagle.

Ungrouped