接口的使用
org.redkale.cached.spi.CachedManagerService.SetterAsyncFunc
-
使用CachedManagerService.SetterAsyncFunc的程序包 程序包 说明 org.redkale.cached.spi -
-
org.redkale.cached.spi中CachedManagerService.SetterAsyncFunc的使用
参数类型为CachedManagerService.SetterAsyncFunc的org.redkale.cached.spi中的方法 修饰符和类型 方法 说明 protected <T> CompletableFuture<T>
CachedManagerService. getSetAsync(CachedManagerService.GetterFunc<CompletableFuture<CachedValue<T>>> getter, CachedManagerService.SetterAsyncFunc setter, String name, String key, Type type, boolean nullable, int localLimit, Duration expire, ThrowSupplier<CompletableFuture<T>> supplier)
异步获取缓存数据, 过期返回null
-