类的使用
org.springframework.util.function.SingletonSupplier
使用SingletonSupplier的程序包 程序包 说明 org.springframework.cache.interceptor AOP-based solution for declarative caching demarcation.org.springframework.util.function Useful genericjava.util.function
helper classes.org.springframework.cache.interceptor中SingletonSupplier的使用
声明为SingletonSupplier的org.springframework.cache.interceptor中的字段 修饰符和类型 字段 说明 protected SingletonSupplier<CacheErrorHandler>
AbstractCacheInvoker. errorHandler
org.springframework.util.function中SingletonSupplier的使用
返回SingletonSupplier的org.springframework.util.function中的方法 修饰符和类型 方法 说明 static <T> SingletonSupplier<T>
SingletonSupplier. of(Supplier<T> supplier)
Build aSingletonSupplier
with the given supplier.static <T> SingletonSupplier<T>
SingletonSupplier. of(T instance)
Build aSingletonSupplier
with the given singleton instance.static <T> SingletonSupplier<T>
SingletonSupplier. ofNullable(Supplier<T> supplier)
Build aSingletonSupplier
with the given supplier.static <T> SingletonSupplier<T>
SingletonSupplier. ofNullable(T instance)
Build aSingletonSupplier
with the given singleton instance.