Class/Object

com.twitter.finagle.client.DefaultPool

Param

Related Docs: object Param | package DefaultPool

Permalink

case class Param(low: Int, high: Int, bufferSize: Int, idleTime: Duration, maxWaiters: Int) extends Product with Serializable

A class eligible for configuring a com.twitter.finagle.Stackable default pool module.

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.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Param
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Param(low: Int, high: Int, bufferSize: Int, idleTime: Duration, maxWaiters: Int)

    Permalink

    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.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val bufferSize: Int

    Permalink

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

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

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. val high: Int

    Permalink

    The high watermark.

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

  11. val idleTime: Duration

    Permalink

    The amount of idle time for which a connection is cached.

    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.

  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. val low: Int

    Permalink

    The low watermark used in the Watermark pool.

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

  14. val maxWaiters: Int

    Permalink

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

  15. def mk(): (Param, Stack.Param[Param])

    Permalink
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped