com.liferay.portal.kernel.concurrent
Class AsyncBroker<K,V>
java.lang.Object
com.liferay.portal.kernel.concurrent.AsyncBroker<K,V>
public class AsyncBroker<K,V>
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsyncBroker
public AsyncBroker()
getOpenBids
public Map<K,NoticeableFuture<V>> getOpenBids()
post
public NoticeableFuture<V> post(K key)
take
public NoticeableFuture<V> take(K key)
takeWithException
public boolean takeWithException(K key,
Throwable throwable)
takeWithResult
public boolean takeWithResult(K key,
V result)