Uses of Class
com.couchbase.client.java.manager.bucket.BucketSettings
-
Uses of BucketSettings in com.couchbase.client.java.manager.bucket
Modifier and TypeMethodDescriptionBucketSettings.bucketType
(BucketType bucketType) Configures theBucketType
.BucketSettings.compressionMode
(CompressionMode compressionMode) Sets the compression mode on the bucket.BucketSettings.conflictResolutionType
(ConflictResolutionType conflictResolutionType) Configures the conflict resolution mode for the bucket.static BucketSettings
CreatesBucketSettings
with the bucket name and all default properties.BucketSettings.ejectionPolicy
(EjectionPolicy ejectionPolicy) Deprecated.BucketSettings.evictionPolicy
(EvictionPolicyType evictionPolicy) Allows to configure a customEvictionPolicyType
as the eviction policy.BucketSettings.flushEnabled
(boolean flushEnabled) Allows enabling flush on the bucket.Loads the properties of a bucket from the cluster.BucketManager.getBucket
(String bucketName, GetBucketOptions options) Loads the properties of a bucket from the cluster with custom options.BucketSettings.historyRetentionBytes
(Long historyRetentionBytes) Configures historyRetentionBytes for this bucket.BucketSettings.historyRetentionCollectionDefault
(Boolean historyRetentionCollectionDefault) Configures historyRetentionCollectionDefault for this bucket.BucketSettings.historyRetentionDuration
(Duration historyRetentionDuration) Configures historyRetentionDuration for this bucket.Specifies the maximum expiry (time-to-live) for all documents in the bucket.BucketSettings.maxTTL
(int maxTTL) Deprecated.please usemaxExpiry(Duration)
instead.BucketSettings.minimumDurabilityLevel
(DurabilityLevel durabilityLevel) Configures a custom minimumDurabilityLevel
for this bucket.BucketSettings.numReplicas
(int numReplicas) Sets the number of replica copies for the bucket.BucketSettings.ramQuotaMB
(long ramQuotaMB) Sets the ram quota in MB for this bucket.BucketSettings.replicaIndexes
(boolean replicaIndexes) Sets the number of replica indexes on the bucket.BucketSettings.storageBackend
(StorageBackend storageBackend) Configures aStorageBackend
for this bucket.Modifier and TypeMethodDescriptionAsyncBucketManager.getAllBuckets()
Loads the properties of all buckets the current user has access to from the cluster.AsyncBucketManager.getAllBuckets
(GetAllBucketOptions options) Loads the properties of all buckets the current user has access to from the cluster.BucketManager.getAllBuckets()
Loads the properties of all buckets the current user has access to from the cluster.BucketManager.getAllBuckets
(GetAllBucketOptions options) Loads the properties of all buckets the current user has access to from the cluster.ReactiveBucketManager.getAllBuckets()
Loads the properties of all buckets the current user has access to from the cluster.ReactiveBucketManager.getAllBuckets
(GetAllBucketOptions options) Loads the properties of all buckets the current user has access to from the cluster.Loads the properties of a bucket from the cluster.AsyncBucketManager.getBucket
(String bucketName, GetBucketOptions options) Loads the properties of a bucket from the cluster with custom options.Loads the properties of a bucket from the cluster.ReactiveBucketManager.getBucket
(String bucketName, GetBucketOptions options) Loads the properties of a bucket from the cluster with custom options.Modifier and TypeMethodDescriptionAsyncBucketManager.createBucket
(BucketSettings settings) Creates a new bucket on the server.AsyncBucketManager.createBucket
(BucketSettings settings, CreateBucketOptions options) Creates a new bucket on the server with custom options.void
BucketManager.createBucket
(BucketSettings settings) Creates a new bucket on the server.void
BucketManager.createBucket
(BucketSettings settings, CreateBucketOptions options) Creates a new bucket on the server with custom options.ReactiveBucketManager.createBucket
(BucketSettings settings) Creates a new bucket on the server.ReactiveBucketManager.createBucket
(BucketSettings settings, CreateBucketOptions options) Creates a new bucket on the server with custom options.AsyncBucketManager.updateBucket
(BucketSettings settings) Updates the settings of a bucket which already exists.AsyncBucketManager.updateBucket
(BucketSettings settings, UpdateBucketOptions options) Updates the settings of a bucket which already exists with custom options.void
BucketManager.updateBucket
(BucketSettings settings) Updates the settings of a bucket which already exists.void
BucketManager.updateBucket
(BucketSettings settings, UpdateBucketOptions options) Updates the settings of a bucket which already exists with custom options.ReactiveBucketManager.updateBucket
(BucketSettings settings) Updates the settings of a bucket which already exists.ReactiveBucketManager.updateBucket
(BucketSettings settings, UpdateBucketOptions options) Updates the settings of a bucket which already exists with custom options.
evictionPolicy
instead.