Package | Description |
---|---|
com.couchbase.client.java.transactions | |
com.couchbase.client.java.transactions.config |
Modifier and Type | Method and Description |
---|---|
static TransactionKeyspace |
TransactionKeyspace.create(String bucket)
Creates a keyspace with a bucket name and default scope and default collection.
|
static TransactionKeyspace |
TransactionKeyspace.create(String bucket,
String collection)
Creates a keyspace with a bucket name, collection name and default scope.
|
static TransactionKeyspace |
TransactionKeyspace.create(String bucket,
String scope,
String collection)
Creates a keyspace with bucket name, scope name and collection name.
|
Modifier and Type | Method and Description |
---|---|
static TransactionsCleanupConfig.Builder |
TransactionsCleanupConfig.addCollection(TransactionKeyspace collection)
Adds a collection to the set of metadata collections that will be cleaned up automatically.
|
TransactionsCleanupConfig.Builder |
TransactionsCleanupConfig.Builder.addCollection(TransactionKeyspace collection)
Adds a collection to the set of metadata collections that will be cleaned up automatically.
|
static TransactionsConfig.Builder |
TransactionsConfig.metadataCollection(TransactionKeyspace collection)
Allows setting a custom collection to use for any transactional metadata documents.
|
TransactionsConfig.Builder |
TransactionsConfig.Builder.metadataCollection(TransactionKeyspace collection)
Allows setting a custom collection to use for any transactional metadata documents.
|
Modifier and Type | Method and Description |
---|---|
TransactionsCleanupConfig.Builder |
TransactionsCleanupConfig.addCollections(Collection<TransactionKeyspace> collections)
Adds collections to the set of metadata collections that will be cleaned up automatically.
|
TransactionsCleanupConfig.Builder |
TransactionsCleanupConfig.Builder.addCollections(Collection<TransactionKeyspace> collections)
Adds collections to the set of metadata collections that will be cleaned up automatically.
|
Copyright © 2024 Couchbase, Inc.. All rights reserved.