Generated by
JDiff

Class com.google.common.util.concurrent.MoreExecutors

Added Methods
ListeningExecutorService listeningDecorator(ExecutorService) Creates an ExecutorService whose {@code submit} and {@code invokeAll} methods submit ListenableFutureTask instances to the given delegate executor.
ListeningScheduledExecutorService listeningDecorator(ScheduledExecutorService) Creates a ScheduledExecutorService whose {@code submit} and {@code invokeAll} methods submit ListenableFutureTask instances to the given delegate executor.
 

Changed Methods
ListeningExecutorService sameThreadExecutor() Change in return type from ExecutorService to ListeningExecutorService.
Creates an executor service that runs each task in the thread that invokes {@code execute/submit}, as in CallerRunsPolicy This applies both to individually submitted tasks and to collections of tasks submitted via {@code invokeAll} or {@code invokeAny}.