Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Package | Description |
---|---|
java.util.concurrent | Utility classes commonly useful in concurrent programming. |
Uses of ScheduledExecutorService in java.util.concurrent |
---|
Modifier and Type | Class and Description |
---|---|
class |
ScheduledThreadPoolExecutor
A ThreadPoolExecutor that can additionally schedule
commands to run after a given delay, or to execute
periodically. |
Modifier and Type | Method and Description |
---|---|
static ScheduledExecutorService |
Executors.newScheduledThreadPool(int corePoolSize)
Creates a thread pool that can schedule commands to run after a given delay, or to execute periodically. |
static ScheduledExecutorService |
Executors.newScheduledThreadPool(int corePoolSize,
ThreadFactory threadFactory)
Creates a thread pool that can schedule commands to run after a given delay, or to execute periodically. |
static ScheduledExecutorService |
Executors.newSingleThreadScheduledExecutor()
Creates a single-threaded executor that can schedule commands to run after a given delay, or to execute periodically. |
static ScheduledExecutorService |
Executors.newSingleThreadScheduledExecutor(ThreadFactory threadFactory)
Creates a single-threaded executor that can schedule commands to run after a given delay, or to execute periodically. |
static ScheduledExecutorService |
Executors.unconfigurableScheduledExecutorService(ScheduledExecutorService executor)
Returns an object that delegates all defined ScheduledExecutorService methods to the given executor, but
not any other methods that might otherwise be accessible using
casts. |
Modifier and Type | Method and Description |
---|---|
static ScheduledExecutorService |
Executors.unconfigurableScheduledExecutorService(ScheduledExecutorService executor)
Returns an object that delegates all defined ScheduledExecutorService methods to the given executor, but
not any other methods that might otherwise be accessible using
casts. |
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.