KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > util > concurrent > Executors

java.util.concurrent
Class Executors

java.lang.Object
  extended by java.util.concurrent.Executors
See Also:
Top Examples, Callable, ThreadFactory, ScheduledExecutorService, ExecutorService, Executor

public static Callable<Object> callable(Runnable task)
See Also:
NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static <T> Callable<T> callable(Runnable task,
                                       T result)
See Also:
NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static Callable<Object> callable(PrivilegedAction action)
See Also:
NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static Callable<Object> callable(PrivilegedExceptionAction action)
See Also:
NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ThreadFactory defaultThreadFactory()
See Also:
Thread.getName(), System.getSecurityManager(), SecurityManager, ThreadGroup
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ExecutorService newCachedThreadPool()
See Also:
ThreadPoolExecutor
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ExecutorService newCachedThreadPool(ThreadFactory threadFactory)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ExecutorService newFixedThreadPool(int nThreads)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ExecutorService newFixedThreadPool(int nThreads,
                                                 ThreadFactory threadFactory)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ScheduledExecutorService newScheduledThreadPool(int corePoolSize)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ScheduledExecutorService newScheduledThreadPool(int corePoolSize,
                                                              ThreadFactory threadFactory)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ExecutorService newSingleThreadExecutor()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ExecutorService newSingleThreadExecutor(ThreadFactory threadFactory)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ScheduledExecutorService newSingleThreadScheduledExecutor()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ScheduledExecutorService newSingleThreadScheduledExecutor(ThreadFactory threadFactory)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static <T> Callable<T> privilegedCallable(Callable<T> callable)
See Also:
NullPointerException, AccessControlException, AccessController.doPrivileged(java.security.PrivilegedAction)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static <T> Callable<T> privilegedCallableUsingCurrentClassLoader(Callable<T> callable)
See Also:
AccessControlException, NullPointerException, AccessController.doPrivileged(java.security.PrivilegedAction)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ThreadFactory privilegedThreadFactory()
See Also:
AccessControlException, ThreadPoolExecutor.beforeExecute(java.lang.Thread, java.lang.Runnable), InheritableThreadLocal, ThreadLocal, AccessController.doPrivileged(java.security.PrivilegedAction), defaultThreadFactory()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ExecutorService unconfigurableExecutorService(ExecutorService executor)
See Also:
NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ScheduledExecutorService unconfigurableScheduledExecutorService(ScheduledExecutorService executor)
See Also:
NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags