|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.javatools.util.Executors
public final class Executors
Method Summary | |
---|---|
static java.util.concurrent.ThreadFactory |
namedThreadFactory(java.lang.String baseName)
Returns a ThreadFactory which creates named threads with the
specific base thread name. |
static void |
shutdown(java.util.concurrent.ExecutorService executor)
A wrapper around ExecutorService.shutdown() that works around a
JDK 1.5 bug. |
static java.util.List<java.lang.Runnable> |
shutdownNow(java.util.concurrent.ExecutorService executor)
A wrapper around ExecutorService.shutdownNow() that works around a
JDK 1.5 bug. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.concurrent.ThreadFactory namedThreadFactory(java.lang.String baseName)
ThreadFactory
which creates named threads with the
specific base thread name.
baseName
- the base thread name.
java.lang.NullPointerException
- if baseName is null.public static void shutdown(java.util.concurrent.ExecutorService executor)
ExecutorService.shutdown()
that works around a
JDK 1.5 bug.
public static java.util.List<java.lang.Runnable> shutdownNow(java.util.concurrent.ExecutorService executor)
ExecutorService.shutdownNow()
that works around a
JDK 1.5 bug.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |