| パッケージ | 説明 | 
|---|---|
| java.util.concurrent | 並行プログラミングでよく使用されるユーティリティ・クラスです。 | 
| 修飾子と型 | インタフェース | 説明 | 
|---|---|---|
| interface  | RunnableScheduledFuture<V>RunnableであるScheduledFutureです。 | 
| 修飾子と型 | メソッド | 説明 | 
|---|---|---|
| <V> ScheduledFuture<V> | ScheduledThreadPoolExecutor. schedule(Callable<V> callable, long delay, TimeUnit unit) | |
| <V> ScheduledFuture<V> | ScheduledExecutorService. schedule(Callable<V> callable, long delay, TimeUnit unit)指定された遅延後に有効になるScheduledFutureを作成して実行します。 | |
| ScheduledFuture<?> | ScheduledThreadPoolExecutor. schedule(Runnable command, long delay, TimeUnit unit) | |
| ScheduledFuture<?> | ScheduledExecutorService. schedule(Runnable command, long delay, TimeUnit unit)指定された遅延後に有効になる単発的なアクションを作成して実行します。 | |
| ScheduledFuture<?> | ScheduledThreadPoolExecutor. scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) | |
| ScheduledFuture<?> | ScheduledExecutorService. scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit)指定された初期遅延の経過後にはじめて有効になり、その後は指定された期間ごとに有効になる定期的なアクションを作成して実行します。つまり実行は initialDelay後に開始され、その後はinitialDelay+period、initialDelay+2 * periodというようになります。 | |
| ScheduledFuture<?> | ScheduledThreadPoolExecutor. scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) | |
| ScheduledFuture<?> | ScheduledExecutorService. scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit)指定された初期遅延の経過後にはじめて有効になり、その後は実行の終了後から次の開始までの指定の遅延ごとに有効になる定期的なアクションを作成して実行します。 | 
 バグまたは機能を送信 
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。 そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。 
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved.  Use is subject to license terms.  Documentation Redistribution Policyも参照してください。