-
指定用于Redis存储库操作的池
我正在使用<code>CrudRepositories</code>实体支持的<code>@RedisHash</code>来保存和检索来自独立Redis的数据。现在 -
如何将Spring Circuit Breaker与Cache Manager结合使用?
我已经看到许多在服务方法上使用Netflix <code>@HystrixCommand</code>之类的示例的例子,但是在使用一个或多 -
@CacheEviction和Redis缓存问题
我正在探索Redis以在我们的项目中使用它。 我使用Spring Boot创建了一个简单的示例,并使用application.proper -
Spring RedisLockRegistry或Redisson锁
我需要为Redis缓存实现分布式锁定。仔细检查spring @Cacheable(sync = true)在锁定密钥和清除操作方面存在 -
Spring Data Redis(带生菜)创建包装器库的优势
我是Redis的新手,并打算在内存缓存中使用它。我正在使用Lettuce 5.2客户端。 我有多个应用程序, -
Spring Data Redis-opsForList()。leftPop在@Transactional注释期间始终返回null
我的RedisConfiguration是: <pre><code>@Configuration public class RedisConfiguration { @Value("${redis.host}") priv -
使用Redis的Spring Data JPA:无法存储嵌套Map
我正在尝试通过<code>CrudRepository</code>的实现使用Spring Data Redis将以下SessionEntity有效内容保存在Redis数据存 -
使用Lettuce + SpringDataRedis的Redis Sentinel身份验证
我在本地配置的redis哨兵运行在两个不同的端口10001和10002上。我具有相同的哨兵身份验证设置。 R -
Spring amqp + Spring data redis
我正在使用带有弹簧数据redis的spring amqp。我遇到的问题是,在关闭阶段,Redis连接会先关闭,而amqp仍会 -
嵌入式Redis的SmartLifeCycle
我正在尝试对嵌入式Redis(<a href="https://github.com/kstyrc/embedded-redis" rel="nofollow noreferrer">https://github.com/kstyrc -
建立连接以清除任何过时的数据时刷新redis缓存
我有一个Redis缓存配置为Spring Boot应用程序。假设与redis的连接丢失。下次重新建立连接时,我想先刷新 -
如何使用crement()增加现有redis哈希字段的值?
我想增加Redis中已经存在的哈希值。我正在通过以下方式使用Redis模板的crement()函数。 <pre><code>priv -
Spring Data Redis部分更新对密钥到期的副作用
我正在将Redis 5.0与Spring Data Redis 1.8.7和Jedis连接器一起使用。我为键设置了TTL,并且用例要求我更新要保 -
如何在Redis中实现自动发现?
对于Redis来说我是一个新手,只是喜欢从事此工作。我的问题是,假设我有3个redis服务器实例,并且已在 -
如何获得用于在Redis PubSub中发布消息的字符串形式的模式
我正在使用以下代码。模式为byte []类型。必须将模式作为String用作业务逻辑。有没有办法得到它!必须 -
骆驼蓝图redis集成
我们需要从远程服务器上安装的Redis获取数据。 我们正在使用Apache骆驼与Redis集成以获取数据,我 -
java.lang.ClassNotFoundException:org.springframework.data.redis.connection.jedis.JedisClientConfiguration $ JedisClientConfigurationBuilder
我正在将Spring Boot应用程序从1.5.3版本升级到2.1.6版本。目前,我不想更新spring redis,所以我添加了以下 -
Redis查询以查找范围之间的
我正在开发一个迁移项目,当前数据查找是从内存中的缓存中进行的。我们正在切换到Redis内存缓存,以 -
Spring Redis-@RedisHash动态设置timeToLive
我想在RedisHash中动态设置<code>timeToLive</code>的值。即来自属性文件。 我知道<code>@RedisHash</code>是一 -
使用Spring的@EnableRedisHttpSession时如何在控制器中获取会话或Redis密钥的过期时间?
我正在使用Spring Boot和Spring会话。这是我的简单配置。 <pre><code>@EnableRedisHttpSession public class Config {} </ -
spring-data-redis是否支持Redis排序,例如JPA样式?
spring-data-redis是否支持Redis排序,例如JPA样式?尝试使用org / springframework / data / redis / repository / support / Q -
如何在Spring Redis实体中将组合键用作ID等同于@embedded ID
我正在使用spring数据redis存储库来检索和持久化到Redis。但我需要将ID组合为2个字段。如何实现呢?有没 -
RedisTemplate throw Exception地址已在使用中:无更多信息
我想通过<code>RedisTemplate</code>来实现redis事务。 然后我对其进行编码。 <a href="https://github.com/Ahaochan -
选择最佳的缓存机制以提高Web应用程序的性能
对于Spring Boot Web应用程序,有一个getAllEmployees API,并且要返回的数据量很大。例如。在这里,我们有以 -
如果密钥数量增加,则Redis性能
我们有一个Redis数据库,该数据库当前在生产环境中包含超过1000万个密钥,并且根据我们的预测,它可 -
如何在springboot中的ClientHttpRequestInterceptor中使用自动装配注释
我想为<code>@Autowired</code>中的<code>ClientHttpRequestInterceptor</code>使用<code>springboot</code> <pre><code>public clas -
如何在Redis中从byteArrayRedisTemplate检索缓存的数据
我无法理解如何从byteArrayRedisTemplate缓存或检索数据。 对于缓存,我正在使用: <pre><code>byteArra -
Redis Sentinel Stunnel配置
我已经配置了一个3节点的Redis实例,该实例具有具有Redis主Redis副本的stunnel。在每个节点上运行的哨兵。 -
我这是RedisAtomicInteger的正确行为吗?
在&& javaDoc文档中,Spring Data Redis表示RedisAtomicInteger具有以下构造函数: <pre><code>/** * Constructs a new {@l -
找不到类型为'org.springframework.data.redis.cache.RedisCacheManager'的bean
application.properties <pre><code>spring: cache.type: redis redis.host: localhost redis.port: 6379 redis.password: test123