This commit is contained in:
@@ -83,9 +83,7 @@ public interface CacheSource<K extends Serializable, V extends Object> {
|
|||||||
public CompletableFuture<Void> removeSetItemAsync(final K key, final V value);
|
public CompletableFuture<Void> removeSetItemAsync(final K key, final V value);
|
||||||
|
|
||||||
default CompletableFuture<Boolean> isOpenAsync() {
|
default CompletableFuture<Boolean> isOpenAsync() {
|
||||||
CompletableFuture<Boolean> future = new CompletableFuture();
|
return CompletableFuture.completedFuture(true);
|
||||||
future.complete(true);
|
|
||||||
return future;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------- AsyncHandler 异步版 ---------------------------------
|
//---------------------- AsyncHandler 异步版 ---------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user