Class/Object

com.ironcorelabs.davenport

DavenportConfig

Related Docs: object DavenportConfig | package davenport

Permalink

final case class DavenportConfig(ioPoolSize: Int, computationPoolSize: Int, kvEndpoints: Int, hosts: NonEmptyList[String]) extends Product with Serializable

The configuration class to tell Davenport how to configure the CouchConnection.

ioPoolSize

- Number of threads to use for IO in the underlying couchbase connection.

computationPoolSize

- Number of threads to use for computation in underlying couchbase connection.

kvEndpoints

- Number of sockets to keep open per node. Should be left at 1 unless you're sure the socket is saturated.

hosts

- ip addresses or hostnames of the couchbase cluster nodes.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DavenportConfig
  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 DavenportConfig(ioPoolSize: Int, computationPoolSize: Int, kvEndpoints: Int, hosts: NonEmptyList[String])

    Permalink

    ioPoolSize

    - Number of threads to use for IO in the underlying couchbase connection.

    computationPoolSize

    - Number of threads to use for computation in underlying couchbase connection.

    kvEndpoints

    - Number of sockets to keep open per node. Should be left at 1 unless you're sure the socket is saturated.

    hosts

    - ip addresses or hostnames of the couchbase cluster nodes.

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. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val computationPoolSize: Int

    Permalink

    - Number of threads to use for computation in underlying couchbase connection.

  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 hosts: NonEmptyList[String]

    Permalink

    - ip addresses or hostnames of the couchbase cluster nodes.

  11. val ioPoolSize: Int

    Permalink

    - Number of threads to use for IO in the underlying couchbase connection.

  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. val kvEndpoints: Int

    Permalink

    - Number of sockets to keep open per node.

    - Number of sockets to keep open per node. Should be left at 1 unless you're sure the socket is saturated.

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

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

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

    Permalink
    Definition Classes
    AnyRef
  17. def setComputationPoolSize(maybePool: Option[Int]): DavenportConfig

    Permalink

    Set computationPoolSize to maybePool if it is Some, otherwise return this

  18. def setHosts(maybeHosts: List[String]): DavenportConfig

    Permalink

    Create a new DavenportConfig with maybeHosts as hosts.

    Create a new DavenportConfig with maybeHosts as hosts. If maybeHosts is Nil return this.

  19. def setIOPoolSize(maybePool: Option[Int]): DavenportConfig

    Permalink

    Set ioPoolSize to maybePool if it is Some, otherwise return this

  20. def setKVEndpoints(maybeEndpoints: Option[Int]): DavenportConfig

    Permalink

    Set kvEndpoints to maybeEndpoints if it is Some, otherwise return this

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

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

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

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