JavaScript is disabled on your browser.
Skip navigation links
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
A
B
C
D
E
F
G
I
M
S
T
U
A
addTimeout(CompletableFuture<T>, MoreFutures.ValueSupplier<T>, Duration, ScheduledExecutorService)
- Static method in class io.airlift.concurrent.
MoreFutures
Returns a new future that is completed when the supplied future completes or when the timeout expires.
AsyncSemaphore
<
T
> - Class in
io.airlift.concurrent
Guarantees that no more than maxPermits of tasks will be run concurrently.
AsyncSemaphore(int, Executor, Function<T, ListenableFuture<?>>)
- Constructor for class io.airlift.concurrent.
AsyncSemaphore
awaitTermination(long, TimeUnit)
- Method in class io.airlift.concurrent.
ExecutorServiceAdapter
B
BoundedExecutor
- Class in
io.airlift.concurrent
Guarantees that no more than maxThreads will be used to execute tasks submitted through
execute()
.
BoundedExecutor(Executor, int)
- Constructor for class io.airlift.concurrent.
BoundedExecutor
C
close()
- Method in class io.airlift.concurrent.
SetThreadName
D
daemonThreadsNamed(String)
- Static method in class io.airlift.concurrent.
Threads
Creates a
ThreadFactory
that creates named daemon threads.
E
execute(Runnable)
- Method in class io.airlift.concurrent.
BoundedExecutor
execute(Runnable)
- Method in class io.airlift.concurrent.
ExecutorServiceAdapter
ExecutorServiceAdapter
- Class in
io.airlift.concurrent
Converts an Executor into a minimalistic ExecutorService
ExecutorServiceAdapter(Executor)
- Constructor for class io.airlift.concurrent.
ExecutorServiceAdapter
F
failedFuture(Throwable)
- Static method in class io.airlift.concurrent.
MoreFutures
Returns a failed future containing the specified throwable.
firstCompletedFuture(Iterable<? extends CompletionStage<? extends V>>)
- Static method in class io.airlift.concurrent.
MoreFutures
Creates a future that completes when the first future completes either normally or exceptionally.
firstCompletedFuture(Iterable<? extends CompletionStage<? extends V>>, boolean)
- Static method in class io.airlift.concurrent.
MoreFutures
Creates a future that completes when the first future completes either normally or exceptionally.
from(Executor)
- Static method in class io.airlift.concurrent.
ExecutorServiceAdapter
G
get()
- Method in interface io.airlift.concurrent.
MoreFutures.ValueSupplier
getActiveCount()
- Method in class io.airlift.concurrent.
ThreadPoolExecutorMBean
getCompletedTaskCount()
- Method in class io.airlift.concurrent.
ThreadPoolExecutorMBean
getCorePoolSize()
- Method in class io.airlift.concurrent.
ThreadPoolExecutorMBean
getFutureValue(Future<V>)
- Static method in class io.airlift.concurrent.
MoreFutures
Waits for the value from the future.
getFutureValue(Future<V>, Class<E>)
- Static method in class io.airlift.concurrent.
MoreFutures
Waits for the value from the future.
getKeepAliveTime()
- Method in class io.airlift.concurrent.
ThreadPoolExecutorMBean
getLargestPoolSize()
- Method in class io.airlift.concurrent.
ThreadPoolExecutorMBean
getMaximumPoolSize()
- Method in class io.airlift.concurrent.
ThreadPoolExecutorMBean
getPoolSize()
- Method in class io.airlift.concurrent.
ThreadPoolExecutorMBean
getQueuedTaskCount()
- Method in class io.airlift.concurrent.
ThreadPoolExecutorMBean
getRejectedExecutionHandler()
- Method in class io.airlift.concurrent.
ThreadPoolExecutorMBean
getTaskCount()
- Method in class io.airlift.concurrent.
ThreadPoolExecutorMBean
I
invokeAll(Collection<? extends Callable<T>>)
- Method in class io.airlift.concurrent.
ExecutorServiceAdapter
invokeAll(Collection<? extends Callable<T>>, long, TimeUnit)
- Method in class io.airlift.concurrent.
ExecutorServiceAdapter
invokeAny(Collection<? extends Callable<T>>)
- Method in class io.airlift.concurrent.
ExecutorServiceAdapter
invokeAny(Collection<? extends Callable<T>>, long, TimeUnit)
- Method in class io.airlift.concurrent.
ExecutorServiceAdapter
io.airlift.concurrent
- package io.airlift.concurrent
isAllowCoreThreadTimeOut()
- Method in class io.airlift.concurrent.
ThreadPoolExecutorMBean
isShutdown()
- Method in class io.airlift.concurrent.
ExecutorServiceAdapter
isShutdown()
- Method in class io.airlift.concurrent.
ThreadPoolExecutorMBean
isTerminated()
- Method in class io.airlift.concurrent.
ExecutorServiceAdapter
isTerminated()
- Method in class io.airlift.concurrent.
ThreadPoolExecutorMBean
isTerminating()
- Method in class io.airlift.concurrent.
ThreadPoolExecutorMBean
M
MoreFutures
- Class in
io.airlift.concurrent
MoreFutures.ValueSupplier
<
T
> - Interface in
io.airlift.concurrent
S
setAllowCoreThreadTimeOut(boolean)
- Method in class io.airlift.concurrent.
ThreadPoolExecutorMBean
setCorePoolSize(int)
- Method in class io.airlift.concurrent.
ThreadPoolExecutorMBean
setKeepAliveTime(String)
- Method in class io.airlift.concurrent.
ThreadPoolExecutorMBean
setMaximumPoolSize(int)
- Method in class io.airlift.concurrent.
ThreadPoolExecutorMBean
SetThreadName
- Class in
io.airlift.concurrent
SetThreadName(String, Object...)
- Constructor for class io.airlift.concurrent.
SetThreadName
shutdown()
- Method in class io.airlift.concurrent.
ExecutorServiceAdapter
shutdownNow()
- Method in class io.airlift.concurrent.
ExecutorServiceAdapter
submit(T)
- Method in class io.airlift.concurrent.
AsyncSemaphore
submit(Callable<T>)
- Method in class io.airlift.concurrent.
ExecutorServiceAdapter
submit(Runnable, T)
- Method in class io.airlift.concurrent.
ExecutorServiceAdapter
submit(Runnable)
- Method in class io.airlift.concurrent.
ExecutorServiceAdapter
T
ThreadPoolExecutorMBean
- Class in
io.airlift.concurrent
ThreadPoolExecutorMBean(ThreadPoolExecutor)
- Constructor for class io.airlift.concurrent.
ThreadPoolExecutorMBean
Threads
- Class in
io.airlift.concurrent
threadsNamed(String)
- Static method in class io.airlift.concurrent.
Threads
Creates a
ThreadFactory
that creates named threads using the specified naming format.
toCompletableFuture(ListenableFuture<V>)
- Static method in class io.airlift.concurrent.
MoreFutures
Converts a ListenableFuture to a CompletableFuture.
toListenableFuture(CompletableFuture<V>)
- Static method in class io.airlift.concurrent.
MoreFutures
Converts a CompletableFuture to a ListenableFuture.
tryGetFutureValue(Future<T>)
- Static method in class io.airlift.concurrent.
MoreFutures
Gets the current value of the future without waiting.
tryGetFutureValue(Future<V>, int, TimeUnit)
- Static method in class io.airlift.concurrent.
MoreFutures
Waits for the the value from the future for the specified time.
tryGetFutureValue(Future<V>, int, TimeUnit, Class<E>)
- Static method in class io.airlift.concurrent.
MoreFutures
Waits for the the value from the future for the specified time.
U
unmodifiableFuture(CompletableFuture<V>)
- Static method in class io.airlift.concurrent.
MoreFutures
Returns a future that can not be completed or canceled.
unmodifiableFuture(CompletableFuture<V>, boolean)
- Static method in class io.airlift.concurrent.
MoreFutures
Returns a future that can not be completed or optionally canceled.
A
B
C
D
E
F
G
I
M
S
T
U
Skip navigation links
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
Copyright © 2010-2015 Airlift. All Rights Reserved.