Package

com.ironcorelabs

davenport

Permalink

package davenport

Visibility
  1. Public
  2. All

Type Members

  1. final case class BucketNameAndPassword(name: String, password: Option[String]) extends Product with Serializable

    Permalink
  2. final case class CouchConnection(config: DavenportConfig) extends Product with Serializable

    Permalink

    Create a connection to the Couchbase Cluster, which will allow you to create a com.ironcorelabs.davenport.datastore.CouchDatastore for a particular bucket.

    Create a connection to the Couchbase Cluster, which will allow you to create a com.ironcorelabs.davenport.datastore.CouchDatastore for a particular bucket. Only one of CouchConnection should be created at a time in an application as it handles all the underlying threading and is expensive to create.

    This is primarily used to for the purpose of calling CouchConnection.openDatastore which creates a com.ironcorelabs.davenport.datastore.Datastore for the BucketNameAndPassword that was passed in. The datastore created can be reused or discarded.

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

    Permalink

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

    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.

  4. final class DisconnectedException extends Exception

    Permalink

    Indicates that the Exception is due to the underlying connection being terminated.

Value Members

  1. object DavenportConfig extends Serializable

    Permalink
  2. package codec

    Permalink
  3. package datastore

    Permalink
  4. package db

    Permalink
  5. package error

    Permalink
  6. package internal

    Permalink
  7. package syntax

    Permalink
  8. package util

    Permalink

Ungrouped