Package

com.twitter.finagle

client

Permalink

package client

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. client
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class DefaultPool[Req, Rep](low: Int = 0, high: Int = Int.MaxValue, bufferSize: Int = 0, idleTime: Duration = Duration.Top, maxWaiters: Int = Int.MaxValue, timer: Timer = DefaultTimer) extends (StatsReceiver) ⇒ Transformer[Req, Rep] with Product with Serializable

    Permalink

    Create a watermark pool backed by a caching pool.

    Create a watermark pool backed by a caching pool. This is the default pooling setup of Finagle.

    low

    The low watermark used in the Watermark pool. If there is sufficient request concurrency, no fewer connections will be maintained by the pool.

    high

    The high watermark. The pool will not maintain more connections than this.

    bufferSize

    Specifies the size of the lock-free buffer in front of the pool configuration. Skipped if 0.

    idleTime

    The amount of idle time for which a connection is cached. This is applied to connections that number greater than the low watermark but fewer than the high.

    maxWaiters

    The maximum number of connection requests that are queued when the connection concurrency exceeds the high watermark.

  2. class EndpointerModule[Req, Rep] extends Module[ServiceFactory[Req, Rep]]

    Permalink

    A module that hooks in a ServiceFactory that directly makes connections, intended to be used as the last ServiceFactory in the stack, the endpointer.

  3. trait EndpointerStackClient[Req, Rep, This <: EndpointerStackClient[Req, Rep, This]] extends StackClient[Req, Rep] with Parameterized[This] with CommonParams[This] with ClientParams[This] with WithClientAdmissionControl[This] with WithClientTransport[This] with WithClientSession[This] with WithSessionQualifier[This]

    Permalink

    The standard template implementation for com.twitter.finagle.client.StackClient.

    The standard template implementation for com.twitter.finagle.client.StackClient.

    See also

    StackClient.newStack for the default modules used by Finagle clients.

    The user guide for further details on Finagle clients and their configuration.

  4. trait StackBasedClient[Req, Rep] extends Client[Req, Rep] with Parameterized[StackBasedClient[Req, Rep]] with Transformable[StackBasedClient[Req, Rep]]

    Permalink

    A Client that may have its Stack transformed.

    A Client that may have its Stack transformed.

    A StackBasedClient is weaker than a StackClient in that the specific Req, Rep types of its stack are not exposed.

  5. trait StackClient[Req, Rep] extends StackBasedClient[Req, Rep] with Parameterized[StackClient[Req, Rep]] with Transformable[StackClient[Req, Rep]]

    Permalink

    A Client that composes a Stack.

  6. trait StdStackClient[Req, Rep, This <: StdStackClient[Req, Rep, This]] extends EndpointerStackClient[Req, Rep, This]

    Permalink
  7. type Transformer[Req, Rep] = (ServiceFactory[Req, Rep]) ⇒ ServiceFactory[Req, Rep]

    Permalink

    Transform a service factory stack.

  8. trait Transporter[In, Out, Ctx <: TransportContext] extends AnyRef

    Permalink

    Transporters construct a Future[Transport[In, Out, Context]].

    Transporters construct a Future[Transport[In, Out, Context]].

    There is one Transporter assigned per remote peer. Transporters are symmetric to the server-side com.twitter.finagle.server.Listener, except that it isn't shared across remote peers..

Value Members

  1. object AddrMetadataExtraction

    Permalink

    Extraction of com.twitter.finagle.Addr.Metadata from a com.twitter.finagle.factory.LoadBalancerFactory.Dest

  2. object BackupRequestFilter

    Permalink
  3. object DefaultPool extends Serializable

    Permalink
  4. object DynamicTimeout

    Permalink

    Used for the creation of Stack modules that have dynamic timeouts.

    Used for the creation of Stack modules that have dynamic timeouts.

    See also

    LatencyCompensation

    TimeoutFilter

  5. object LatencyCompensation

    Permalink

    Latency compensation enables the modification of connection and request timeouts on a per-endpoint basis.

    Latency compensation enables the modification of connection and request timeouts on a per-endpoint basis. For instance, if a client has both network-local and trans-continental endpoints, a reasonable latency compensator might add the speed-of-light penalty when communicating with distant endpoints.

  6. object StackClient

    Permalink
  7. object StatsScoping

    Permalink

    Stats scoping enabled the modification of the StatsReceiver scoping on a per-endpoint basis.

    Stats scoping enabled the modification of the StatsReceiver scoping on a per-endpoint basis. For instance, if a client has endpoints in multiple zones, a scoper might add a per-zone scope.

  8. object Transporter

    Permalink

    A collection of Stack.Params useful for configuring a com.twitter.finagle.client.Transporter.

Inherited from AnyRef

Inherited from Any

Ungrouped