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 java.lang.Object

Old location of MoreExecutors.


Method Summary
static void addDelayedShutdownHook(java.util.concurrent.ExecutorService service, long terminationTimeout, java.util.concurrent.TimeUnit timeUnit)
          Deprecated. use MoreExecutors.addDelayedShutdownHook( ExecutorService, long, TimeUnit).
static java.util.concurrent.ThreadFactory daemonThreadFactory()
          Deprecated. use MoreExecutors.daemonThreadFactory().
static java.util.concurrent.ThreadFactory daemonThreadFactory(java.util.concurrent.ThreadFactory factory)
          Deprecated. use MoreExecutors.daemonThreadFactory(ThreadFactory).
static java.util.concurrent.ExecutorService getExitingExecutorService(java.util.concurrent.ThreadPoolExecutor executor)
          Deprecated. use MoreExecutors.getExitingExecutorService( ThreadPoolExecutor).
static java.util.concurrent.ExecutorService getExitingExecutorService(java.util.concurrent.ThreadPoolExecutor executor, long terminationTimeout, java.util.concurrent.TimeUnit timeUnit)
          Deprecated. use MoreExecutors.getExitingExecutorService( ThreadPoolExecutor, long, TimeUnit).
static java.util.concurrent.ScheduledExecutorService getExitingScheduledExecutorService(java.util.concurrent.ScheduledThreadPoolExecutor executor)
          Deprecated. use MoreExecutors.getExitingScheduledExecutorService( ScheduledThreadPoolExecutor).
static java.util.concurrent.ScheduledExecutorService getExitingScheduledExecutorService(java.util.concurrent.ScheduledThreadPoolExecutor executor, long terminationTimeout, java.util.concurrent.TimeUnit timeUnit)
          Deprecated. use MoreExecutors.getExitingScheduledExecutorService( ScheduledThreadPoolExecutor, long, TimeUnit).
static java.util.concurrent.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 java.util.concurrent.ExecutorService getExitingExecutorService(java.util.concurrent.ThreadPoolExecutor executor,
                                                                                        long terminationTimeout,
                                                                                        java.util.concurrent.TimeUnit timeUnit)
Deprecated. use MoreExecutors.getExitingExecutorService( ThreadPoolExecutor, long, TimeUnit).

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


getExitingScheduledExecutorService

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

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


addDelayedShutdownHook

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

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


getExitingExecutorService

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

Old location of MoreExecutors.getExitingExecutorService( ThreadPoolExecutor).


getExitingScheduledExecutorService

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

Old location of MoreExecutors.getExitingScheduledExecutorService( ScheduledThreadPoolExecutor).


daemonThreadFactory

@Deprecated
public static java.util.concurrent.ThreadFactory daemonThreadFactory()
Deprecated. use MoreExecutors.daemonThreadFactory().

Old location of MoreExecutors.daemonThreadFactory().


daemonThreadFactory

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

Old location of MoreExecutors.daemonThreadFactory(ThreadFactory).


sameThreadExecutor

@Deprecated
public static java.util.concurrent.ExecutorService sameThreadExecutor()
Deprecated. use MoreExecutors.sameThreadExecutor().

Old location of MoreExecutors.sameThreadExecutor().



Copyright © 2010 Google. All Rights Reserved.