Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionsince 4.0 in favor of
ValkeyCacheWriter.evict(String, byte[])since 4.1, for removal; useJedisConnection(UnifiedJedis)instead.since 4.1, for removal; useJedisConnection(UnifiedJedis)instead.since 2.2, useJedisConnectionFactory.createTopologyProvider(UnifiedJedis)instead.since 2.0, configureJedisPoolConfigusingJedisClientConfiguration.since 4.1.since 4.0 for removal. UseBase64encoding and decoding methods directly.since 4.0 in favor ofJacksonHashMapper.since 4.0 in favor ofGenericJacksonJsonValkeySerializersince 4.0 in favor ofJacksonJsonValkeySerializer.since 3.0 for removal.since 3.0, useconstructor creationto configure the object mapper.since 4.0 in favor ofJacksonObjectReader.since 4.0 in favor ofJacksonObjectWriter.
-
Deprecated InterfacesInterfaceDescriptionsince 4.0 in favor of
JacksonObjectReader.since 4.0 in favor ofJacksonObjectWriter.
-
Deprecated ClassesClassDescriptionsince 4.0 for removal. Use
Base64encoding and decoding methods directly.since 3.0, useLimitinstead.since 3.0, useRangeorValkeyZSetCommands.Range.toRange()instead.since 4.0 in favor ofJacksonHashMapper.since 4.0 in favor ofGenericJacksonJsonValkeySerializersince 4.0 in favor ofJacksonJsonValkeySerializer.
-
Deprecated Enum Classes
-
Deprecated FieldsFieldDescriptionsince 3.0 for removal.
-
Deprecated MethodsMethodDescriptionsince 3.2. Use
ValkeyCacheConfiguration.getTtlFunction()instead.since 4.0 in favor ofValkeyCacheWriter.clear(String, byte[])since 4.0 in favor ofValkeyCacheWriter.evict(String, byte[])in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.stringCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.stringCommands()}.in favor ofValkeyCommandsProvider.stringCommands()}.in favor ofValkeyCommandsProvider.stringCommands()}.in favor ofValkeyCommandsProvider.stringCommands()}.in favor ofValkeyCommandsProvider.stringCommands()}.in favor ofValkeyCommandsProvider.listCommands()}.in favor ofValkeyCommandsProvider.listCommands()}.in favor ofValkeyCommandsProvider.listCommands()}.in favor ofValkeyCommandsProvider.listCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.stringCommands()}.in favor ofValkeyCommandsProvider.stringCommands()}.in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.scriptingCommands().in favor ofValkeyCommandsProvider.scriptingCommands().in favor ofValkeyCommandsProvider.scriptingCommands().in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.geoCommands()}.in favor ofValkeyCommandsProvider.geoCommands()}.in favor ofValkeyCommandsProvider.geoCommands()}.in favor ofValkeyCommandsProvider.geoCommands()}.in favor ofValkeyCommandsProvider.geoCommands()}.in favor ofValkeyCommandsProvider.geoCommands()}.io.valkey.springframework.data.valkey.connection.DefaultedValkeyConnection.geoPos(byte[], byte[]...) in favor ofValkeyCommandsProvider.geoCommands()}.io.valkey.springframework.data.valkey.connection.DefaultedValkeyConnection.geoRadius(byte[], Circle) in favor ofValkeyCommandsProvider.geoCommands()}.in favor ofValkeyCommandsProvider.geoCommands()}.in favor ofValkeyCommandsProvider.geoCommands()}.in favor ofValkeyCommandsProvider.geoCommands()}.in favor ofValkeyCommandsProvider.geoCommands()}.in favor ofValkeyCommandsProvider.geoCommands()}.in favor ofValkeyCommandsProvider.geoCommands()}.in favor ofValkeyCommandsProvider.stringCommands()}.in favor ofValkeyCommandsProvider.stringCommands()}.in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.stringCommands()}.io.valkey.springframework.data.valkey.connection.DefaultedValkeyConnection.getEx(byte[], Expiration) in favor ofValkeyCommandsProvider.stringCommands()}.in favor ofValkeyCommandsProvider.stringCommands()}.in favor ofValkeyCommandsProvider.stringCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.hashCommands().in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.hashCommands()}.in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.stringCommands()}.in favor ofValkeyCommandsProvider.stringCommands()}.in favor ofValkeyCommandsProvider.stringCommands()}.in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.listCommands()}.in favor ofValkeyCommandsProvider.listCommands()}.in favor ofValkeyCommandsProvider.listCommands()}.in favor ofValkeyCommandsProvider.listCommands()}.in favor ofValkeyCommandsProvider.listCommands()}.in favor ofValkeyCommandsProvider.listCommands()}.in favor ofValkeyCommandsProvider.listCommands()}.in favor ofValkeyCommandsProvider.listCommands()}.in favor ofValkeyCommandsProvider.listCommands()}.in favor ofValkeyCommandsProvider.listCommands()}.in favor ofValkeyCommandsProvider.listCommands()}.in favor ofValkeyCommandsProvider.listCommands()}.io.valkey.springframework.data.valkey.connection.DefaultedValkeyConnection.lTrim(byte[], long, long) in favor ofValkeyCommandsProvider.listCommands()}.in favor ofValkeyCommandsProvider.stringCommands()}.in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.keyCommands().io.valkey.springframework.data.valkey.connection.DefaultedValkeyConnection.mSet(Map<byte[], byte[]>) in favor ofValkeyCommandsProvider.stringCommands()}.in favor ofValkeyCommandsProvider.stringCommands()}.in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.hyperLogLogCommands().in favor ofValkeyCommandsProvider.hyperLogLogCommands().in favor ofValkeyCommandsProvider.hyperLogLogCommands().in favor ofValkeyCommandsProvider.stringCommands()}.in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.listCommands()}.in favor ofValkeyCommandsProvider.listCommands()}.io.valkey.springframework.data.valkey.connection.DefaultedValkeyConnection.rPopLPush(byte[], byte[]) in favor ofValkeyCommandsProvider.listCommands()}.in favor ofValkeyCommandsProvider.listCommands()}.in favor ofValkeyCommandsProvider.listCommands()}.in favor ofValkeyCommandsProvider.setCommands()}.in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.setCommands()}.in favor ofValkeyCommandsProvider.scriptingCommands().in favor ofValkeyCommandsProvider.scriptingCommands().in favor ofValkeyCommandsProvider.scriptingCommands().in favor ofValkeyCommandsProvider.scriptingCommands().in favor ofValkeyCommandsProvider.setCommands()}.in favor ofValkeyCommandsProvider.setCommands()}.in favor ofValkeyCommandsProvider.stringCommands()}.in favor ofValkeyCommandsProvider.stringCommands()}.in favor ofValkeyCommandsProvider.stringCommands()}.in favor ofValkeyCommandsProvider.serverCommands().io.valkey.springframework.data.valkey.connection.DefaultedValkeyConnection.setConfig(String, String) in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.stringCommands()}.in favor ofValkeyCommandsProvider.stringCommands()}.in favor ofValkeyCommandsProvider.stringCommands()}.in favor ofValkeyCommandsProvider.stringCommands()}.in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.setCommands()}.in favor ofValkeyCommandsProvider.setCommands()}.in favor ofValkeyCommandsProvider.setCommands()}.io.valkey.springframework.data.valkey.connection.DefaultedValkeyConnection.sIsMember(byte[], byte[]) in favor ofValkeyCommandsProvider.setCommands()}.in favor ofValkeyCommandsProvider.setCommands()}.in favor ofValkeyCommandsProvider.setCommands()}.in favor ofValkeyCommandsProvider.setCommands()}.in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.setCommands()}.in favor ofValkeyCommandsProvider.setCommands()}.in favor ofValkeyCommandsProvider.setCommands()}.io.valkey.springframework.data.valkey.connection.DefaultedValkeyConnection.sRandMember(byte[], long) in favor ofValkeyCommandsProvider.setCommands()}.in favor ofValkeyCommandsProvider.setCommands()}.in favor ofValkeyCommandsProvider.setCommands()}.in favor ofValkeyCommandsProvider.stringCommands()}.in favor ofValkeyCommandsProvider.setCommands()}.in favor ofValkeyCommandsProvider.setCommands()}.in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.serverCommands().in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.keyCommands().in favor ofValkeyCommandsProvider.streamCommands()}.in favor ofValkeyCommandsProvider.streamCommands()}.in favor ofValkeyCommandsProvider.streamCommands()}.in favor ofValkeyCommandsProvider.streamCommands()}.in favor ofValkeyCommandsProvider.streamCommands()}.io.valkey.springframework.data.valkey.connection.DefaultedValkeyConnection.xDel(byte[], RecordId...) in favor ofValkeyCommandsProvider.streamCommands()}.in favor ofValkeyCommandsProvider.streamCommands()}.in favor ofValkeyCommandsProvider.streamCommands()}.in favor ofValkeyCommandsProvider.streamCommands()}.in favor ofValkeyCommandsProvider.streamCommands()}.in favor ofValkeyCommandsProvider.streamCommands()}.in favor ofValkeyCommandsProvider.streamCommands()}.in favor ofValkeyCommandsProvider.streamCommands()}.in favor ofValkeyCommandsProvider.streamCommands()}.in favor ofValkeyCommandsProvider.streamCommands()}.in favor ofValkeyCommandsProvider.streamCommands()}.in favor ofValkeyCommandsProvider.streamCommands()}.in favor ofValkeyCommandsProvider.streamCommands()}.in favor ofValkeyCommandsProvider.streamCommands()}.in favor ofValkeyCommandsProvider.streamCommands()}.in favor ofValkeyCommandsProvider.streamCommands()}.in favor ofValkeyCommandsProvider.streamCommands()}.in favor ofValkeyCommandsProvider.streamCommands()}.in favor ofValkeyCommandsProvider.streamCommands()}.in favor ofValkeyCommandsProvider.streamCommands()}.in favor ofValkeyCommandsProvider.streamCommands()}.in favor ofValkeyCommandsProvider.streamCommands()}.in favor ofValkeyCommandsProvider.streamCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.io.valkey.springframework.data.valkey.connection.DefaultedValkeyConnection.zRandMember(byte[], long) in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.in favor ofValkeyCommandsProvider.zSetCommands()}.since 2.2, useJedisConnectionFactory.createTopologyProvider(UnifiedJedis)instead.since 4.1, useJedisConnectionFactory.getRequiredRedisClient()instead.since 4.1 all Jedis single node connections are always using connection poolingsince 2.0, configure the client name usingJedisClientConfiguration.since 2.0, configure the database index usingValkeyStandaloneConfigurationorValkeySentinelConfiguration.since 2.0, configure the hostname usingValkeyStandaloneConfiguration.since 2.0, configure the password usingValkeyStandaloneConfiguration,ValkeySentinelConfigurationorValkeyClusterConfiguration.since 2.0, configureJedisPoolConfigusingJedisClientConfiguration.since 2.0, configure the port usingValkeyStandaloneConfiguration.since 2.0, configure the timeout usingJedisClientConfiguration.since 2.0, configure pooling usage withJedisClientConfiguration.since 2.0, configure the SSL usage withJedisClientConfiguration.since 3.4, useLettuceClientConfiguration.getVerifyMode()for how peer verification is configured.since 3.4, useLettuceClientConfiguration.getVerifyMode()instead.configure the client name usingLettuceClientConfiguration.since 2.0, configureClientResourcesusingLettuceClientConfiguration.since 3.2, configure the database index usingValkeyStandaloneConfiguration,ValkeySocketConfiguration,ValkeySentinelConfiguration, orValkeyStaticMasterReplicaConfiguration.since 2.0, configure the hostname usingValkeyStandaloneConfiguration.since 2.0, configure the password usingValkeyStandaloneConfiguration,ValkeySentinelConfigurationorValkeyClusterConfiguration.since 2.0, configure the port usingValkeyStandaloneConfiguration.since 2.0, configure the shutdown timeout usingLettuceClientConfiguration.since 2.0, configure StartTLS usingLettuceClientConfiguration.since 2.0, configure the timeout usingLettuceClientConfiguration.io.valkey.springframework.data.valkey.connection.lettuce.LettuceConnectionFactory.setUseSsl(boolean) since 2.0, configure SSL usage usingLettuceClientConfiguration.since 2.0, configure peer verification usingLettuceClientConfiguration.since 4.1.since 4.0: do not toggle the trim operator in isolation. Specify a concrete trim strategy (MAXLEN or MINID) and operator viaValkeyStreamCommands.XTrimOptionsandValkeyStreamCommands.TrimOptions, e.g.options(XTrimOptions.trim(TrimOptions.maxLen(n).approximate())).since 4.0: do not toggle the trim operator in isolation. Specify a concrete trim strategy (MAXLEN or MINID) and operator viaValkeyStreamCommands.XTrimOptionsandValkeyStreamCommands.TrimOptions, e.g.options(XTrimOptions.trim(TrimOptions.maxLen(n).approximate()))oroptions(XTrimOptions.trim(TrimOptions.minId(id).exact())).since 4.0: InspectReactiveStreamCommands.TrimCommand.getOptions()->ValkeyStreamCommands.XTrimOptions.getTrimOptions()->ValkeyStreamCommands.TrimOptions.getTrimStrategy()and obtain the threshold from the concrete strategy instead. For example:if (strategy instanceof MaxLenTrimStrategy m) { m.threshold(); }orif (strategy instanceof MinIdTrimStrategy i) { i.threshold(); }.since 4.0, preferReactiveStreamCommands.TrimCommand.stream(ByteBuffer, XTrimOptions)instead.since 4.0: specify a concrete trim strategy (MAXLEN or MINID) viaValkeyStreamCommands.XTrimOptionsandValkeyStreamCommands.TrimOptionsinstead of using this method. Preferoptions(XTrimOptions.trim(TrimOptions.maxLen(threshold)))or construct withstream(key, XTrimOptions.trim(TrimOptions.maxLen(threshold))).since 4.1 in favor ofReactiveStringCommands.set(ByteBuffer, ByteBuffer, SetCondition, Expiration).since 4.1 in favor ofReactiveStringCommands.SetCommand.getCondition().since 4.1 in favor ofReactiveStringCommands.SetCommand.withCondition(SetCondition).since 4.1 in favor ofReactiveStringCommands.setGet(ByteBuffer, ByteBuffer, SetCondition, Expiration).since 4.1 in favor ofStringValkeyConnection.set(String, String, SetCondition, Expiration).since 4.0: callers must specify a concrete trim strategy (MAXLEN or MINID) viaValkeyStreamCommands.TrimOptions; do not use this method to only toggle approximate/exact. PreferXAddOptions.trim(TrimOptions.maxLen(n).approximate())orXAddOptions.trim(TrimOptions.minId(id).exact()).since 4.1 in favor ofValkeyStringCommands.set(byte[], byte[], SetCondition, Expiration).since 4.1 in favor ofValkeyStringCommands.set(byte[], byte[], SetCondition, Expiration).since 3.0, useValkeyZSetCommands.zRangeByScore(byte[], org.springframework.data.domain.Range)instead.since 4.1 in favor ofBoundKeyOperations.expire(Expiration)since 4.1 in favor ofBoundListOperations.leftPop(Duration).since 4.1 in favor ofBoundListOperations.move(Direction, Object, Direction, Duration).since 4.1 in favor ofBoundListOperations.leftPop(Duration).since 3.0, useBoundSetOperations.differenceAndStore(Collection, Object)instead to follow a consistent method naming scheme.since 3.0, useBoundSetOperations.differenceAndStore(Object, Object)instead to follow a consistent method naming scheme.since 4.1 in favor ofBoundValueOperations.getAndExpire(Expiration).since 4.1 in favor ofBoundValueOperations.set(Object, Expiration).since 4.1 in favor ofBoundValueOperations.setGet(Object, Consumer).since 4.1 in favor ofBoundValueOperations.setIfAbsent(Object, Expiration).since 4.1 in favor ofBoundZSetOperations.popMax(Duration).since 4.1 in favor ofBoundZSetOperations.popMin(Duration).since 3.3, useCursor.getId()instead as the cursorId can exceedLong.MAX_VALUE.since 4.1 in favor ofListOperations.leftPop(Object, Duration).since 4.1 in favor ofListOperations.move(Object, Direction, Object, Direction, Duration).since 4.1 in favor ofListOperations.rightPop(Object, Duration).since 4.1 in favor ofListOperations.rightPopAndLeftPush(Object, Object, Duration).since 3.3 cursorId, can exceedLong.MAX_VALUE.since 4.1 in favor ofValkeyOperations.expire(Object, Expiration).since 4.1 in favor ofValkeyOperations.restore(Object, byte[], Expiration)since 4.1 in favor ofValkeyOperations.restore(Object, byte[], Expiration, boolean).since 4.1 in favor ofValueOperations.getAndExpire(Object, Expiration).since 4.1 in favor ofValueOperations.set(Object, Object, Expiration)since 4.1 in favor ofValueOperations.setGet(Object, Object, Expiration).since 4.1 in favor ofValueOperations.setIfAbsent(Object, Object, Expiration).since 4.1 in favor ofValueOperations.setIfPresent(Object, Object, Expiration).since 4.1 in favor ofZSetOperations.popMax(Object, Duration).since 4.1 in favor ofZSetOperations.popMin(Object, Duration).since 3.0, useconstructor creationto configure the object mapper.since 2.2. Please useValkeySerializationContext.byteArray()instead.since 2.2. Please use eitherValkeySerializationContext.SerializationPair.byteArray()orValkeySerializationContext.SerializationPair.byteBuffer().since 4.1 in favor ofValkeyList.moveFirstTo(ValkeyList, Direction, Duration).since 4.1 in favor ofValkeyList.moveLastTo(ValkeyList, Direction, Duration).
-
Deprecated ConstructorsConstructorDescriptionsince 4.1, use
JedisClusterConnection(RedisClusterClient)instead.since 4.1, useJedisClusterConnection(@org.jspecify.annotations.NonNull redis.clients.jedis.UnifiedJedis,@org.jspecify.annotations.NonNull io.valkey.springframework.data.valkey.connection.ClusterCommandExecutor,@org.jspecify.annotations.NonNull io.valkey.springframework.data.valkey.connection.ClusterTopologyProvider)instead.since 4.1 in favor ofJedisClusterTopologyProvider(UnifiedJedis, Duration).since 4.1 in favor ofJedisClusterTopologyProvider(RedisClusterClient, Duration).since 4.1, for removal; useJedisConnection(UnifiedJedis)instead.since 4.1, for removal; useJedisConnection(UnifiedJedis)instead.since 4.1 useJedisConnectionFactory(ValkeySentinelConfiguration, JedisClientConfiguration)instead.since 4.1 useJedisConnectionFactory(ValkeyClusterConfiguration, JedisClientConfiguration)instead.since 4.1 useJedisConnectionFactory(JedisClientConfiguration)instead.since 3.3 - UseKeyBoundCursor(byte[], CursorId, ScanOptions)instead.since 3.3 - UseScanCursor(CursorId)instead.since 3.3 - UseScanCursor(CursorId, ScanOptions)instead.
ValkeyCacheWriter.clear(String, byte[])