Uses of Class
cloud.opencode.base.cache.distributed.DistributedCacheConfig.Builder
Packages that use DistributedCacheConfig.Builder
-
Uses of DistributedCacheConfig.Builder in cloud.opencode.base.cache.distributed
Methods in cloud.opencode.base.cache.distributed that return DistributedCacheConfig.BuilderModifier and TypeMethodDescriptionDistributedCacheConfig.builder()Creates a new builder.DistributedCacheConfig.Builder.compressionThreshold(int threshold) Sets the compression threshold (bytes).DistributedCacheConfig.Builder.connectionTimeout(Duration connectionTimeout) Sets the connection timeout.DistributedCacheConfig.Builder.defaultTtl(Duration defaultTtl) Sets the default TTL for entries.DistributedCacheConfig.Builder.enableCompression(boolean enable) Enables value compression.DistributedCacheConfig.Builder.enableLocalCache(boolean enable) Enables local (L1) caching.DistributedCacheConfig.Builder.enableStats(boolean enable) Enables statistics collection.DistributedCacheConfig.Builder.invalidationChannel(String channel) Sets the invalidation channel for pub/sub.Sets the key prefix for all keys.DistributedCacheConfig.Builder.keySerializer(CacheSerializer<?> serializer) Sets the key serializer.DistributedCacheConfig.Builder.localCacheSize(int size) Sets the local cache size.DistributedCacheConfig.Builder.localCacheTtl(Duration ttl) Sets the local cache TTL.DistributedCacheConfig.Builder.maxRetries(int maxRetries) Sets the maximum retry count.Sets the cache name.DistributedCacheConfig.Builder.operationTimeout(Duration operationTimeout) Sets the operation timeout.DistributedCacheConfig.Builder.retryBackoff(Duration retryBackoff) Sets the retry backoff duration.DistributedCacheConfig.Builder.valueSerializer(CacheSerializer<?> serializer) Sets the value serializer.