| 程序包 | 说明 |
|---|---|
| cloud.agileframework.cache.sync |
| 限定符和类型 | 方法和说明 |
|---|---|
static SyncKeys |
SyncKeys.of(String channel)
根据信道生成对应的缓存同步所需的key值集合
|
static SyncKeys |
SyncKeys.of(String region,
Object key)
根据缓存key生成对应的缓存同步所需的key值集合
|
static SyncKeys |
SyncKeys.of(String region,
Object key,
Duration timeout) |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
SyncKeys.remove(SyncKeys syncKeys) |
default void |
SyncCache.sync(SyncKeys syncKeys,
OpType opType) |
void |
RedisSyncCache.sync(SyncKeys syncKeys,
OpType opType) |
default <T> T |
SyncCache.sync(SyncKeys syncKeys,
Supplier<T> supplier,
OpType opType)
二级缓存同步执行
|
<T> T |
RedisSyncCache.sync(SyncKeys syncKeys,
Supplier<T> supplier,
OpType opType) |
Copyright © 2022. All rights reserved.