クラスの使用
org.springframework.util.function.SingletonSupplier
パッケージ
説明
宣言的キャッシング境界設定のための AOP ベースのソリューション。
便利な汎用
java.util.function
ヘルパークラス。org.springframework.cache.interceptor 内の SingletonSupplier 使用
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
を構築します。