com.google.common.util.concurrent
Class Executors

java.lang.Object
  extended by com.google.common.util.concurrent.Executors

Deprecated. use MoreExecutors

@Beta
@Deprecated
public final class Executors
extends Object

Old location of MoreExecutors.


Method Summary
static void addDelayedShutdownHook(ExecutorService service, long terminationTimeout, TimeUnit timeUnit)
          Deprecated. use MoreExecutors.addDelayedShutdownHook( ExecutorService, long, TimeUnit).
static ThreadFactory daemonThreadFactory()
          Deprecated. use MoreExecutors.daemonThreadFactory().
static ThreadFactory daemonThreadFactory(ThreadFactory factory)
          Deprecated. use MoreExecutors.daemonThreadFactory(ThreadFactory).
static ExecutorService getExitingExecutorService(ThreadPoolExecutor executor)
          Deprecated. use MoreExecutors.getExitingExecutorService( ThreadPoolExecutor).
static ExecutorService getExitingExecutorService(ThreadPoolExecutor executor, long terminationTimeout, TimeUnit timeUnit)
          Deprecated. use MoreExecutors.getExitingExecutorService( ThreadPoolExecutor, long, TimeUnit).
static ScheduledExecutorService getExitingScheduledExecutorService(ScheduledThreadPoolExecutor executor)
          Deprecated. use MoreExecutors.getExitingScheduledExecutorService( ScheduledThreadPoolExecutor).
static ScheduledExecutorService getExitingScheduledExecutorService(ScheduledThreadPoolExecutor executor, long terminationTimeout, TimeUnit timeUnit)
          Deprecated. use MoreExecutors.getExitingScheduledExecutorService( ScheduledThreadPoolExecutor, long, TimeUnit).
static ExecutorService sameThreadExecutor()
          Deprecated. use MoreExecutors.sameThreadExecutor().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getExitingExecutorService

@Deprecated
public static ExecutorService getExitingExecutorService(ThreadPoolExecutor executor,
                                                                   long terminationTimeout,
                                                                   TimeUnit timeUnit)
Deprecated. use MoreExecutors.getExitingExecutorService( ThreadPoolExecutor, long, TimeUnit).

Old location of MoreExecutors.getExitingExecutorService( ThreadPoolExecutor, long, TimeUnit).


getExitingScheduledExecutorService

@Deprecated
public static ScheduledExecutorService getExitingScheduledExecutorService(ScheduledThreadPoolExecutor executor,
                                                                                     long terminationTimeout,
                                                                                     TimeUnit timeUnit)
Deprecated. use MoreExecutors.getExitingScheduledExecutorService( ScheduledThreadPoolExecutor, long, TimeUnit).

Old location of MoreExecutors.getExitingScheduledExecutorService( ScheduledThreadPoolExecutor, long, TimeUnit).


addDelayedShutdownHook

@Deprecated
public static void addDelayedShutdownHook(ExecutorService service,
                                                     long terminationTimeout,
                                                     TimeUnit timeUnit)
Deprecated. use MoreExecutors.addDelayedShutdownHook( ExecutorService, long, TimeUnit).

Old location of MoreExecutors.addDelayedShutdownHook( ExecutorService, long, TimeUnit).


getExitingExecutorService

@Deprecated
public static ExecutorService getExitingExecutorService(ThreadPoolExecutor executor)
Deprecated. use MoreExecutors.getExitingExecutorService( ThreadPoolExecutor).

Old location of MoreExecutors.getExitingExecutorService( ThreadPoolExecutor).


getExitingScheduledExecutorService

@Deprecated
public static ScheduledExecutorService getExitingScheduledExecutorService(ScheduledThreadPoolExecutor executor)
Deprecated. use MoreExecutors.getExitingScheduledExecutorService( ScheduledThreadPoolExecutor).

Old location of MoreExecutors.getExitingScheduledExecutorService( ScheduledThreadPoolExecutor).


daemonThreadFactory

@Deprecated
public static ThreadFactory daemonThreadFactory()
Deprecated. use MoreExecutors.daemonThreadFactory().

Old location of MoreExecutors.daemonThreadFactory().


daemonThreadFactory

@Deprecated
public static ThreadFactory daemonThreadFactory(ThreadFactory factory)
Deprecated. use MoreExecutors.daemonThreadFactory(ThreadFactory).

Old location of MoreExecutors.daemonThreadFactory(ThreadFactory).


sameThreadExecutor

@Deprecated
public static ExecutorService sameThreadExecutor()
Deprecated. use MoreExecutors.sameThreadExecutor().

Old location of MoreExecutors.sameThreadExecutor().