Class

com.github.j5ik2o.reactive.redis.pool

CommonsPoolConfig

Related Doc: package pool

Permalink

case class CommonsPoolConfig(lifo: Option[Boolean] = None, fairness: Option[Boolean] = None, maxWaitMillis: Option[Duration] = None, minEvictableIdleTime: Option[Duration] = None, evictorShutdownTimeout: Option[Duration] = None, softMinEvictableIdleTime: Option[Duration] = None, blockWhenExhausted: Option[Boolean] = None, evictionPolicy: Option[EvictionPolicy[RedisConnectionPoolable]] = None, evictionPolicyClassName: Option[String] = None, testOnCreate: Option[Boolean] = None, testOnBorrow: Option[Boolean] = None, testOnReturn: Option[Boolean] = None, testWhileIdle: Option[Boolean] = None, numTestsPerEvictionRun: Option[Int] = None, timeBetweenEvictionRuns: Option[Duration] = None, jmxEnabled: Option[Boolean] = None, jmxNamePrefix: Option[String] = None, jmxNameBase: Option[String] = None, sizePerPeer: Option[Int] = None, maxIdlePerPeer: Option[Int] = None, minIdlePerPeer: Option[Int] = None, abandonedConfig: Option[CommonsAbandonedConfig] = None) extends Product with Serializable

lifo

LIFO option. default is true.

fairness

default is false.

maxWaitMillis

default is Inf

minEvictableIdleTime

Life time of the idle connection. 1800000 millis

evictorShutdownTimeout

default is 10000 millis

softMinEvictableIdleTime

default is Inf

blockWhenExhausted

default is true

testOnCreate

default is false

testOnBorrow

default is false

testOnReturn

default is false

testWhileIdle

default is false

numTestsPerEvictionRun

default is 3.

timeBetweenEvictionRuns

Interval time to check the connection in the idle state. default is Inf

jmxEnabled

default is true

jmxNamePrefix

default is "pool"

jmxNameBase

default is null

sizePerPeer

number of max total connections

maxIdlePerPeer

number of max idle connections

minIdlePerPeer

number of min idle connections

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CommonsPoolConfig
  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 CommonsPoolConfig(lifo: Option[Boolean] = None, fairness: Option[Boolean] = None, maxWaitMillis: Option[Duration] = None, minEvictableIdleTime: Option[Duration] = None, evictorShutdownTimeout: Option[Duration] = None, softMinEvictableIdleTime: Option[Duration] = None, blockWhenExhausted: Option[Boolean] = None, evictionPolicy: Option[EvictionPolicy[RedisConnectionPoolable]] = None, evictionPolicyClassName: Option[String] = None, testOnCreate: Option[Boolean] = None, testOnBorrow: Option[Boolean] = None, testOnReturn: Option[Boolean] = None, testWhileIdle: Option[Boolean] = None, numTestsPerEvictionRun: Option[Int] = None, timeBetweenEvictionRuns: Option[Duration] = None, jmxEnabled: Option[Boolean] = None, jmxNamePrefix: Option[String] = None, jmxNameBase: Option[String] = None, sizePerPeer: Option[Int] = None, maxIdlePerPeer: Option[Int] = None, minIdlePerPeer: Option[Int] = None, abandonedConfig: Option[CommonsAbandonedConfig] = None)

    Permalink

    lifo

    LIFO option. default is true.

    fairness

    default is false.

    maxWaitMillis

    default is Inf

    minEvictableIdleTime

    Life time of the idle connection. 1800000 millis

    evictorShutdownTimeout

    default is 10000 millis

    softMinEvictableIdleTime

    default is Inf

    blockWhenExhausted

    default is true

    testOnCreate

    default is false

    testOnBorrow

    default is false

    testOnReturn

    default is false

    testWhileIdle

    default is false

    numTestsPerEvictionRun

    default is 3.

    timeBetweenEvictionRuns

    Interval time to check the connection in the idle state. default is Inf

    jmxEnabled

    default is true

    jmxNamePrefix

    default is "pool"

    jmxNameBase

    default is null

    sizePerPeer

    number of max total connections

    maxIdlePerPeer

    number of max idle connections

    minIdlePerPeer

    number of min idle connections

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. val abandonedConfig: Option[CommonsAbandonedConfig]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val blockWhenExhausted: Option[Boolean]

    Permalink

    default is true

  7. def clone(): AnyRef

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

    Permalink
    Definition Classes
    AnyRef
  9. val evictionPolicy: Option[EvictionPolicy[RedisConnectionPoolable]]

    Permalink
  10. val evictionPolicyClassName: Option[String]

    Permalink
  11. val evictorShutdownTimeout: Option[Duration]

    Permalink

    default is 10000 millis

  12. val fairness: Option[Boolean]

    Permalink

    default is false.

  13. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. val jmxEnabled: Option[Boolean]

    Permalink

    default is true

  17. val jmxNameBase: Option[String]

    Permalink

    default is null

  18. val jmxNamePrefix: Option[String]

    Permalink

    default is "pool"

  19. val lifo: Option[Boolean]

    Permalink

    LIFO option.

    LIFO option. default is true.

  20. val maxIdlePerPeer: Option[Int]

    Permalink

    number of max idle connections

  21. val maxWaitMillis: Option[Duration]

    Permalink

    default is Inf

  22. val minEvictableIdleTime: Option[Duration]

    Permalink

    Life time of the idle connection.

    Life time of the idle connection. 1800000 millis

  23. val minIdlePerPeer: Option[Int]

    Permalink

    number of min idle connections

  24. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  27. val numTestsPerEvictionRun: Option[Int]

    Permalink

    default is 3.

  28. val sizePerPeer: Option[Int]

    Permalink

    number of max total connections

  29. val softMinEvictableIdleTime: Option[Duration]

    Permalink

    default is Inf

  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. val testOnBorrow: Option[Boolean]

    Permalink

    default is false

  32. val testOnCreate: Option[Boolean]

    Permalink

    default is false

  33. val testOnReturn: Option[Boolean]

    Permalink

    default is false

  34. val testWhileIdle: Option[Boolean]

    Permalink

    default is false

  35. val timeBetweenEvictionRuns: Option[Duration]

    Permalink

    Interval time to check the connection in the idle state.

    Interval time to check the connection in the idle state. default is Inf

  36. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. 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