Class CoreBucketSettingsJson
java.lang.Object
com.couchbase.client.core.classic.manager.CoreBucketSettingsJson
- All Implemented Interfaces:
CoreBucketSettings
Helper class for working with bucket JSON.
-
Constructor Summary
ConstructorDescriptionCoreBucketSettingsJson
(String name, Map<String, String> controllers, Map<String, Long> quota, int numReplicas, boolean replicaIndex, int maxTTL, CoreCompressionMode compressionMode, BucketType bucketType, CoreConflictResolutionType conflictResolutionType, CoreEvictionPolicyType evictionPolicy, String durabilityMinLevel, CoreStorageBackend storageBackend, Boolean historyRetentionCollectionDefault, Long historyRetentionBytes, Long historyRetentionDurationSeconds) -
Method Summary
-
Constructor Details
-
CoreBucketSettingsJson
@Internal public CoreBucketSettingsJson(String name, Map<String, String> controllers, Map<String, Long> quota, int numReplicas, boolean replicaIndex, int maxTTL, CoreCompressionMode compressionMode, BucketType bucketType, CoreConflictResolutionType conflictResolutionType, CoreEvictionPolicyType evictionPolicy, String durabilityMinLevel, CoreStorageBackend storageBackend, Boolean historyRetentionCollectionDefault, Long historyRetentionBytes, Long historyRetentionDurationSeconds)
-
-
Method Details
-
ramQuotaToMB
public static long ramQuotaToMB(long ramQuotaBytes) -
name
- Specified by:
name
in interfaceCoreBucketSettings
-
flushEnabled
- Specified by:
flushEnabled
in interfaceCoreBucketSettings
-
ramQuotaMB
- Specified by:
ramQuotaMB
in interfaceCoreBucketSettings
-
numReplicas
- Specified by:
numReplicas
in interfaceCoreBucketSettings
-
replicaIndexes
- Specified by:
replicaIndexes
in interfaceCoreBucketSettings
-
minimumDurabilityLevel
- Specified by:
minimumDurabilityLevel
in interfaceCoreBucketSettings
-
maxExpiry
- Specified by:
maxExpiry
in interfaceCoreBucketSettings
-
compressionMode
- Specified by:
compressionMode
in interfaceCoreBucketSettings
-
bucketType
- Specified by:
bucketType
in interfaceCoreBucketSettings
-
conflictResolutionType
- Specified by:
conflictResolutionType
in interfaceCoreBucketSettings
-
storageBackend
- Specified by:
storageBackend
in interfaceCoreBucketSettings
-
evictionPolicy
- Specified by:
evictionPolicy
in interfaceCoreBucketSettings
-
historyRetentionCollectionDefault
- Specified by:
historyRetentionCollectionDefault
in interfaceCoreBucketSettings
-
historyRetentionBytes
- Specified by:
historyRetentionBytes
in interfaceCoreBucketSettings
-
historyRetentionDuration
- Specified by:
historyRetentionDuration
in interfaceCoreBucketSettings
-
toString
-