Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


oracle.javatools.util
Class Executors

java.lang.Object
  extended by oracle.javatools.util.Executors


public final class Executors
extends java.lang.Object

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

namedThreadFactory

public static java.util.concurrent.ThreadFactory namedThreadFactory(java.lang.String baseName)
Returns a ThreadFactory which creates named threads with the specific base thread name.
Parameters:
baseName - the base thread name.
Returns:
a thread factory that creates threads using the specified base name.
Throws:
java.lang.NullPointerException - if baseName is null.

shutdown

public static void shutdown(java.util.concurrent.ExecutorService executor)
A wrapper around ExecutorService.shutdown() that works around a JDK 1.5 bug.

shutdownNow

public 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.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


Copyright © 1997, 2011, Oracle. All rights reserved.