Java com.google.common.util.concurrent ListeningExecutorService fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.util.concurrent ListeningExecutorService fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.util.concurrent ListeningExecutorService.

The text is from its open source code.

Implementation

com.google.common.util.concurrent.ListeningExecutorService has the following implementations.
Click this link to see all its implementation.

Method

booleanawaitTermination(long timeout, TimeUnit unit)
Blocks until all tasks have completed execution after a shutdown request, or the timeout occurs, or the current thread is interrupted, whichever happens first.
voidexecute(Runnable command)
Executes the given command at some time in the future.
List>invokeAll(Collection> tasks)

All elements in the returned list must be ListenableFuture instances.

booleanisShutdown()
Returns true if this executor has been shut down.
booleanisTerminated()
Returns true if all tasks have completed following shut down.
voidshutdown()
Initiates an orderly shutdown in which previously submitted tasks are executed, but no new tasks will be accepted.
ListshutdownNow()
Attempts to stop all actively executing tasks, halts the processing of waiting tasks, and returns a list of the tasks that were awaiting execution.
ListenableFuturesubmit(Callable task)
ListenableFuturesubmit(Runnable task)