Packages

object CouchbaseSession

Java API: Gives access to Couchbase.

Source
CouchbaseSession.scala
See also

pekko.stream.connectors.couchbase.CouchbaseSessionRegistry

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

Value Members

  1. def create(bucket: Bucket): CouchbaseSession

    Create a session against the given bucket.

    Create a session against the given bucket. You are responsible for managing the lifecycle of the couchbase client that the bucket was created with.

  2. def create(client: AsyncCluster, bucketName: String, executor: Executor): CompletionStage[CouchbaseSession]

    Create a given bucket using a pre-existing cluster client, allowing for it to be shared among multiple CouchbaseSessions.

    Create a given bucket using a pre-existing cluster client, allowing for it to be shared among multiple CouchbaseSessions. The cluster client's life-cycle is the user's responsibility.

  3. def create(settings: CouchbaseSessionSettings, bucketName: String, executor: Executor): CompletionStage[CouchbaseSession]

    Create a session against the given bucket.

    Create a session against the given bucket. The couchbase client used to connect will be created and then closed when the session is closed.

  4. def createClient(settings: CouchbaseSessionSettings, executor: Executor): CompletionStage[AsyncCluster]

    Connects to a Couchbase cluster by creating an AsyncCluster.

    Connects to a Couchbase cluster by creating an AsyncCluster. The life-cycle of it is the user's responsibility.