Uses of Class
com.couchbase.client.java.manager.bucket.BucketSettings
-
Packages that use BucketSettings Package Description com.couchbase.client.java.manager.bucket APIs related to bucket management. -
-
Uses of BucketSettings in com.couchbase.client.java.manager.bucket
Methods in com.couchbase.client.java.manager.bucket that return BucketSettings Modifier and Type Method Description BucketSettings
BucketSettings. bucketType(BucketType bucketType)
Configures theBucketType
.BucketSettings
BucketSettings. compressionMode(CompressionMode compressionMode)
Sets the compression mode on the bucket.BucketSettings
BucketSettings. conflictResolutionType(ConflictResolutionType conflictResolutionType)
Configures the conflict resolution mode for the bucket.static BucketSettings
BucketSettings. create(String name)
CreatesBucketSettings
with the bucket name and all default properties.BucketSettings
BucketSettings. ejectionPolicy(EjectionPolicy ejectionPolicy)
Deprecated.Please useevictionPolicy
instead.BucketSettings
BucketSettings. evictionPolicy(EvictionPolicyType evictionPolicy)
Allows to configure a customEvictionPolicyType
as the eviction policy.BucketSettings
BucketSettings. flushEnabled(boolean flushEnabled)
Allows enabling flush on the bucket.BucketSettings
BucketManager. getBucket(String bucketName)
Loads the properties of a bucket from the cluster.BucketSettings
BucketManager. getBucket(String bucketName, GetBucketOptions options)
Loads the properties of a bucket from the cluster with custom options.BucketSettings
BucketSettings. maxExpiry(Duration maxExpiry)
Specifies the maximum expiry (time-to-live) for all documents in the bucket.BucketSettings
BucketSettings. maxTTL(int maxTTL)
Deprecated.please usemaxExpiry(Duration)
instead.BucketSettings
BucketSettings. minimumDurabilityLevel(DurabilityLevel durabilityLevel)
Configures a custom minimumDurabilityLevel
for this bucket.BucketSettings
BucketSettings. numReplicas(int numReplicas)
Sets the number of replica copies for the bucket.BucketSettings
BucketSettings. ramQuotaMB(long ramQuotaMB)
Sets the ram quota in MB for this bucket.BucketSettings
BucketSettings. replicaIndexes(boolean replicaIndexes)
Sets the number of replica indexes on the bucket.BucketSettings
BucketSettings. storageBackend(StorageBackend storageBackend)
Configures aStorageBackend
for this bucket.Methods in com.couchbase.client.java.manager.bucket that return types with arguments of type BucketSettings Modifier and Type Method Description CompletableFuture<Map<String,BucketSettings>>
AsyncBucketManager. getAllBuckets()
Loads the properties of all buckets the current user has access to from the cluster.CompletableFuture<Map<String,BucketSettings>>
AsyncBucketManager. getAllBuckets(GetAllBucketOptions options)
Loads the properties of all buckets the current user has access to from the cluster.Map<String,BucketSettings>
BucketManager. getAllBuckets()
Loads the properties of all buckets the current user has access to from the cluster.Map<String,BucketSettings>
BucketManager. getAllBuckets(GetAllBucketOptions options)
Loads the properties of all buckets the current user has access to from the cluster.Mono<Map<String,BucketSettings>>
ReactiveBucketManager. getAllBuckets()
Loads the properties of all buckets the current user has access to from the cluster.Mono<Map<String,BucketSettings>>
ReactiveBucketManager. getAllBuckets(GetAllBucketOptions options)
Loads the properties of all buckets the current user has access to from the cluster.CompletableFuture<BucketSettings>
AsyncBucketManager. getBucket(String bucketName)
Loads the properties of a bucket from the cluster.CompletableFuture<BucketSettings>
AsyncBucketManager. getBucket(String bucketName, GetBucketOptions options)
Loads the properties of a bucket from the cluster with custom options.Mono<BucketSettings>
ReactiveBucketManager. getBucket(String bucketName)
Loads the properties of a bucket from the cluster.Mono<BucketSettings>
ReactiveBucketManager. getBucket(String bucketName, GetBucketOptions options)
Loads the properties of a bucket from the cluster with custom options.Methods in com.couchbase.client.java.manager.bucket with parameters of type BucketSettings Modifier and Type Method Description CompletableFuture<Void>
AsyncBucketManager. createBucket(BucketSettings settings)
Creates a new bucket on the server.CompletableFuture<Void>
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.Mono<Void>
ReactiveBucketManager. createBucket(BucketSettings settings)
Creates a new bucket on the server.Mono<Void>
ReactiveBucketManager. createBucket(BucketSettings settings, CreateBucketOptions options)
Creates a new bucket on the server with custom options.CompletableFuture<Void>
AsyncBucketManager. updateBucket(BucketSettings settings)
Updates the settings of a bucket which already exists.CompletableFuture<Void>
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.Mono<Void>
ReactiveBucketManager. updateBucket(BucketSettings settings)
Updates the settings of a bucket which already exists.Mono<Void>
ReactiveBucketManager. updateBucket(BucketSettings settings, UpdateBucketOptions options)
Updates the settings of a bucket which already exists with custom options.
-