public class RedisSyncCache extends AbstractSyncCache implements org.springframework.data.redis.connection.MessageListener
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
LOCK_CACHE_KEY |
| 构造器和说明 |
|---|
RedisSyncCache() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clear(String region) |
void |
message(String channel,
int noticeVersion) |
void |
onMessage(org.springframework.data.redis.connection.Message message,
byte[] pattern)
订阅
|
<T> T |
sync(String region,
String key,
Supplier<T> supplier,
OpType opType) |
keyspublic void onMessage(org.springframework.data.redis.connection.Message message,
byte[] pattern)
onMessage 在接口中 org.springframework.data.redis.connection.MessageListenermessage - 消息pattern - 与通道匹配的模式(如果指定)-可以为空。public void message(String channel, int noticeVersion)
Copyright © 2021. All rights reserved.