クラスの使用
org.springframework.util.function.SingletonSupplier
SingletonSupplier を使用するパッケージ
パッケージ
説明
宣言的キャッシング境界設定のための AOP ベースのソリューション。
便利な汎用
java.util.function ヘルパークラス。org.springframework.cache.interceptor 内の SingletonSupplier 使用
SingletonSupplier として宣言されている org.springframework.cache.interceptor のフィールドorg.springframework.util.function 内の SingletonSupplier 使用
修飾子と型メソッド説明static <T> SingletonSupplier<T>SingletonSupplier.of(SupplierSE<T> supplier) 指定されたサプライヤーでSingletonSupplierを構築します。static <T> SingletonSupplier<T>SingletonSupplier.of(T instance) 指定されたシングルトンインスタンスでSingletonSupplierを構築します。static <T> SingletonSupplier<T>SingletonSupplier.ofNullable(SupplierSE<T> supplier) 指定されたサプライヤーでSingletonSupplierを構築します。static <T> SingletonSupplier<T>SingletonSupplier.ofNullable(T instance) 指定されたシングルトンインスタンスでSingletonSupplierを構築します。