| Constructor and Description |
|---|
CacheAside() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
after(Supplier<T> executor,
Consumer<T> consumer) |
static <T> Future<T> |
afterAsync(Supplier<Future<T>> executor,
Consumer<T> consumer) |
static <T> T |
before(Supplier<T> cacheSupplier,
Supplier<T> actualSupplier,
Consumer<T> callback) |
static <T> Future<T> |
beforeAsync(Supplier<Future<T>> cacheSupplier,
Supplier<Future<T>> actualSupplier,
Consumer<T> callback) |
static <T> T |
check(Supplier<T> cacheSupplier,
Supplier<T> actualSupplier) |
static Future<Boolean> |
checkAsync(Supplier<Future<Boolean>> cacheSupplier,
Supplier<Future<Boolean>> actualSupplier) |
public static <T> Future<T> afterAsync(Supplier<Future<T>> executor, Consumer<T> consumer)
public static <T> T before(Supplier<T> cacheSupplier, Supplier<T> actualSupplier, Consumer<T> callback)
public static <T> Future<T> beforeAsync(Supplier<Future<T>> cacheSupplier, Supplier<Future<T>> actualSupplier, Consumer<T> callback)
Copyright © 2021. All rights reserved.