Uses of Interface
cloud.opencode.base.cache.spi.CacheSerializer
Packages that use CacheSerializer
-
Uses of CacheSerializer in cloud.opencode.base.cache.distributed
Methods in cloud.opencode.base.cache.distributed that return CacheSerializerModifier and TypeMethodDescriptionDistributedCacheConfig.keySerializer()Returns the value of thekeySerializerrecord component.DistributedCacheConfig.valueSerializer()Returns the value of thevalueSerializerrecord component.Methods in cloud.opencode.base.cache.distributed with parameters of type CacheSerializerModifier and TypeMethodDescriptionDistributedCacheConfig.Builder.keySerializer(CacheSerializer<?> serializer) Sets the key serializer.DistributedCacheConfig.Builder.valueSerializer(CacheSerializer<?> serializer) Sets the value serializer.Constructors in cloud.opencode.base.cache.distributed with parameters of type CacheSerializerModifierConstructorDescriptionDistributedCacheConfig(String name, String keyPrefix, Duration defaultTtl, Duration connectionTimeout, Duration operationTimeout, int maxRetries, Duration retryBackoff, boolean enableCompression, int compressionThreshold, boolean enableStats, boolean enableLocalCache, int localCacheSize, Duration localCacheTtl, CacheSerializer<?> keySerializer, CacheSerializer<?> valueSerializer, String invalidationChannel) Creates an instance of aDistributedCacheConfigrecord class. -
Uses of CacheSerializer in cloud.opencode.base.cache.spi
Methods in cloud.opencode.base.cache.spi that return CacheSerializerModifier and TypeMethodDescriptionstatic <V> CacheSerializer<V> CacheSerializer.compressed(CacheSerializer<V> delegate) Create a compressed serializer wrapper 创建压缩序列化器包装器static CacheSerializer<byte[]> CacheSerializer.identity()Create identity serializer for byte arrays 创建字节数组透传序列化器static <V> CacheSerializer<V> CacheSerializer.jdk()Create JDK serializer using Java serialization 创建使用 Java 序列化的 JDK 序列化器static <V> CacheSerializer<V> Create JSON serializer using reflection (auto-detect Jackson or Gson) 使用反射创建 JSON 序列化器(自动检测 Jackson 或 Gson)static <V> CacheSerializer<V> Create Kryo serializer using reflection 使用反射创建 Kryo 序列化器static CacheSerializer<String> CacheSerializer.string()Create string serializer 创建字符串序列化器Methods in cloud.opencode.base.cache.spi with parameters of type CacheSerializerModifier and TypeMethodDescriptionstatic <V> CacheSerializer<V> CacheSerializer.compressed(CacheSerializer<V> delegate) Create a compressed serializer wrapper 创建压缩序列化器包装器