@Component public class SimpleRedisTemplate extends Object
| 构造器和说明 |
|---|
SimpleRedisTemplate() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
convertAndSend(String channel,
String message)
消息队列 - 发布消息
|
org.springframework.data.redis.core.HashOperations<String,String,String> |
opsForHash()
获取hash数据结构操作对象
|
org.springframework.data.redis.core.ListOperations<String,String> |
opsForList() |
org.springframework.data.redis.core.ValueOperations<String,String> |
opsForValue()
获取简单Value数据结构操作对象
|
Boolean |
setIfAbsent(String key,
String value,
long timeoutMillis) |
public org.springframework.data.redis.core.HashOperations<String,String,String> opsForHash()
HashOperations object.public org.springframework.data.redis.core.ValueOperations<String,String> opsForValue()
ValueOperations object.Copyright © 2020–2021. All rights reserved.