Package | Description |
---|---|
org.springframework.cache.interceptor |
AOP-based solution for declarative caching demarcation.
|
org.springframework.util.function |
Useful generic
java.util.function helper classes. |
Modifier and Type | Field and Description |
---|---|
protected SingletonSupplier<CacheErrorHandler> |
AbstractCacheInvoker.errorHandler |
Modifier and Type | Method and Description |
---|---|
static <T> SingletonSupplier<T> |
SingletonSupplier.of(Supplier<T> supplier)
Build a
SingletonSupplier with the given supplier. |
static <T> SingletonSupplier<T> |
SingletonSupplier.of(T instance)
Build a
SingletonSupplier with the given singleton instance. |
static <T> SingletonSupplier<T> |
SingletonSupplier.ofNullable(Supplier<T> supplier)
Build a
SingletonSupplier with the given supplier. |
static <T> SingletonSupplier<T> |
SingletonSupplier.ofNullable(T instance)
Build a
SingletonSupplier with the given singleton instance. |