Created
May 8, 2022 12:09
-
-
Save sirech/a3b3b79e229179a73394a393a656931b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SyncFallbackCache<T, R extends Cacheable<T>> extends AbstractFallbackCache<T, R> { | |
public T get(Supplier<String> keySupplier, Supplier<R> valueSupplier); | |
private T getAndCache(String key, Supplier<R> valueSupplier); | |
private T getFromCacheOrThrow(String key, RuntimeException exception); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment