クラスの使用
org.springframework.scheduling.concurrent.ScheduledExecutorTask
ScheduledExecutorTask を使用するパッケージ
パッケージ
説明
java.util.concurrent および jakarta.enterprise.concurrent パッケージのコンビニエンスクラスをスケジュールし、Spring コンテキストで ThreadPoolExecutor または ScheduledThreadPoolExecutor を Bean としてセットアップできるようにします。org.springframework.scheduling.concurrent 内の ScheduledExecutorTask 使用
型 ScheduledExecutorTask のパラメーターを持つ org.springframework.scheduling.concurrent のメソッド修飾子と型メソッド説明protected RunnableSEScheduledExecutorFactoryBean.getRunnableToSchedule(ScheduledExecutorTask task) 特定のタスクをスケジュールする実際の Runnable を決定します。protected voidScheduledExecutorFactoryBean.registerTasks(ScheduledExecutorTask[] tasks, ScheduledExecutorServiceSE executor) 指定されたScheduledExecutorTasksを指定されたScheduledExecutorServiceSE に登録します。voidScheduledExecutorFactoryBean.setScheduledExecutorTasks(ScheduledExecutorTask... scheduledExecutorTasks) ScheduledExecutorTask オブジェクトのリストを、この FactoryBean が作成する ScheduledExecutorService に登録します。