Class FairBlockingQueue.ExchangeCountDownLatch<T>
java.lang.Object
java.util.concurrent.CountDownLatch
org.apache.tomcat.jdbc.pool.FairBlockingQueue.ExchangeCountDownLatch<T>
- Type Parameters:
T- the type of the item to exchange
- Enclosing class:
FairBlockingQueue<E>
A count down latch that can be used to exchange information.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionExchangeCountDownLatch(int i) Creates a new ExchangeCountDownLatch with the given count. -
Method Summary
-
Field Details
-
item
The item to exchange.
-
-
Constructor Details
-
ExchangeCountDownLatch
public ExchangeCountDownLatch(int i) Creates a new ExchangeCountDownLatch with the given count.- Parameters:
i- the count
-
-
Method Details
-
getItem
-
setItem
-