Class FairBlockingQueue.ItemFuture<T>
java.lang.Object
org.apache.tomcat.jdbc.pool.FairBlockingQueue.ItemFuture<T>
- 
Nested Class SummaryNested classes/interfaces inherited from interface java.util.concurrent.FutureFuture.State
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected booleanprotected Tprotected FairBlockingQueue<E>.ExchangeCountDownLatch<T> 
- 
Constructor SummaryConstructorsConstructorDescriptionItemFuture(FairBlockingQueue<E>.ExchangeCountDownLatch<T> latch) ItemFuture(T item) 
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.concurrent.FutureexceptionNow, resultNow, state
- 
Field Details- 
item
- 
latch
- 
canceledprotected volatile boolean canceled
 
- 
- 
Constructor Details- 
ItemFuture
- 
ItemFuture
 
- 
- 
Method Details- 
cancel
- 
get- Specified by:
- getin interface- Future<T>
- Throws:
- InterruptedException
- ExecutionException
 
- 
getpublic T get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException - Specified by:
- getin interface- Future<T>
- Throws:
- InterruptedException
- ExecutionException
- TimeoutException
 
- 
isCancelledpublic boolean isCancelled()- Specified by:
- isCancelledin interface- Future<T>
 
- 
isDone
 
-