|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
前 次 | フレームあり フレームなし |
ScheduledFuture を使用しているパッケージ | |
---|---|
java.util.concurrent | 通常、ユーティリティクラスは並行プログラミングで有用です。 |
java.util.concurrent での ScheduledFuture の使用 |
---|
ScheduledFuture を返す java.util.concurrent のメソッド | ||
---|---|---|
|
ScheduledThreadPoolExecutor.schedule(Callable<V> callable,
long delay,
TimeUnit unit)
|
|
|
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)
指定された初期遅延後に最初に有効になり、以降は指定された期間後に有効になる周期的なアクションを作成および実行します。 |
|
ScheduledFuture<?> |
ScheduledThreadPoolExecutor.scheduleWithFixedDelay(Runnable command,
long initialDelay,
long delay,
TimeUnit unit)
|
|
ScheduledFuture<?> |
ScheduledExecutorService.scheduleWithFixedDelay(Runnable command,
long initialDelay,
long delay,
TimeUnit unit)
指定された初期遅延後に最初に有効になり、以降は実行終了から次の実行開始までの指定遅延後に有効になる周期的なアクションを作成および実行します。 |
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
前 次 | フレームあり フレームなし |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。