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 BucketSettingsBucketSettings. bucketType(BucketType bucketType)Configures theBucketType.BucketSettingsBucketSettings. compressionMode(CompressionMode compressionMode)Sets the compression mode on the bucket.BucketSettingsBucketSettings. conflictResolutionType(ConflictResolutionType conflictResolutionType)Configures the conflict resolution mode for the bucket.static BucketSettingsBucketSettings. create(String name)CreatesBucketSettingswith the bucket name and all default properties.BucketSettingsBucketSettings. ejectionPolicy(EjectionPolicy ejectionPolicy)Deprecated.Please useevictionPolicyinstead.BucketSettingsBucketSettings. evictionPolicy(EvictionPolicyType evictionPolicy)Allows to configure a customEvictionPolicyTypeas the eviction policy.BucketSettingsBucketSettings. flushEnabled(boolean flushEnabled)Allows enabling flush on the bucket.BucketSettingsBucketManager. getBucket(String bucketName)Loads the properties of a bucket from the cluster.BucketSettingsBucketManager. getBucket(String bucketName, GetBucketOptions options)Loads the properties of a bucket from the cluster with custom options.BucketSettingsBucketSettings. maxExpiry(Duration maxExpiry)Specifies the maximum expiry (time-to-live) for all documents in the bucket.BucketSettingsBucketSettings. maxTTL(int maxTTL)Deprecated.please usemaxExpiry(Duration)instead.BucketSettingsBucketSettings. minimumDurabilityLevel(DurabilityLevel durabilityLevel)Configures a custom minimumDurabilityLevelfor this bucket.BucketSettingsBucketSettings. numReplicas(int numReplicas)Sets the number of replica copies for the bucket.BucketSettingsBucketSettings. ramQuotaMB(long ramQuotaMB)Sets the ram quota in MB for this bucket.BucketSettingsBucketSettings. replicaIndexes(boolean replicaIndexes)Sets the number of replica indexes on the bucket.BucketSettingsBucketSettings. storageBackend(StorageBackend storageBackend)Configures aStorageBackendfor 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.voidBucketManager. createBucket(BucketSettings settings)Creates a new bucket on the server.voidBucketManager. 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.voidBucketManager. updateBucket(BucketSettings settings)Updates the settings of a bucket which already exists.voidBucketManager. 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.
-