|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.kernel.concurrent.AsyncBroker<K,V>
public class AsyncBroker<K,V>
| Constructor Summary | |
|---|---|
AsyncBroker()
|
|
| Method Summary | |
|---|---|
Map<K,NoticeableFuture<V>> |
getOpenBids()
|
NoticeableFuture<V> |
post(K key)
|
NoticeableFuture<V> |
post(K key,
DefaultNoticeableFuture<V> defaultNoticeableFuture)
|
NoticeableFuture<V> |
take(K key)
|
boolean |
takeWithException(K key,
Throwable throwable)
|
boolean |
takeWithResult(K key,
V result)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AsyncBroker()
| Method Detail |
|---|
public Map<K,NoticeableFuture<V>> getOpenBids()
public NoticeableFuture<V> post(K key)
public NoticeableFuture<V> post(K key,
DefaultNoticeableFuture<V> defaultNoticeableFuture)
public NoticeableFuture<V> take(K key)
public boolean takeWithException(K key,
Throwable throwable)
public boolean takeWithResult(K key,
V result)
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||