| Package | Description | 
|---|---|
| io.druid.collections | 
| Modifier and Type | Method and Description | 
|---|---|
static <T extends Closeable> | 
ReferenceCountingResourceHolder.fromCloseable(T object)  | 
ReferenceCountingResourceHolder<T> | 
DummyBlockingPool.take()  | 
ReferenceCountingResourceHolder<T> | 
DefaultBlockingPool.take()  | 
ReferenceCountingResourceHolder<T> | 
BlockingPool.take()
Take a resource from the pool, waiting if necessary until an element becomes available. 
 | 
ReferenceCountingResourceHolder<T> | 
DummyBlockingPool.take(long timeoutMs)  | 
ReferenceCountingResourceHolder<T> | 
DefaultBlockingPool.take(long timeoutMs)  | 
ReferenceCountingResourceHolder<T> | 
BlockingPool.take(long timeoutMs)
Take a resource from the pool, waiting up to the
 specified wait time if necessary for an element to become available. 
 | 
ReferenceCountingResourceHolder<List<T>> | 
DummyBlockingPool.takeBatch(int elementNum)  | 
ReferenceCountingResourceHolder<List<T>> | 
DefaultBlockingPool.takeBatch(int elementNum)  | 
ReferenceCountingResourceHolder<List<T>> | 
BlockingPool.takeBatch(int elementNum)
Take resources from the pool, waiting if necessary until the elements of the given number become available. 
 | 
ReferenceCountingResourceHolder<List<T>> | 
DummyBlockingPool.takeBatch(int elementNum,
         long timeoutMs)  | 
ReferenceCountingResourceHolder<List<T>> | 
DefaultBlockingPool.takeBatch(int elementNum,
         long timeoutMs)  | 
ReferenceCountingResourceHolder<List<T>> | 
BlockingPool.takeBatch(int elementNum,
         long timeoutMs)
Take resources from the pool, waiting up to the
 specified wait time if necessary for elements of the given number to become available. 
 | 
Copyright © 2011–2018. All rights reserved.