public class AsyncBroker<K,V>
extends Object
Constructor and Description |
---|
AsyncBroker() |
Modifier and Type | Method and Description |
---|---|
Map<K,NoticeableFuture<V>> |
getOpenBids() |
NoticeableFuture<V> |
post(K key) |
NoticeableFuture<V> |
post(K key,
boolean[] newMarker) |
NoticeableFuture<V> |
post(K key,
DefaultNoticeableFuture<V> defaultNoticeableFuture)
Deprecated.
As of Judson (7.1.x), replaced by
post(Object,
boolean[]) |
NoticeableFuture<V> |
take(K key) |
boolean |
takeWithException(K key,
Throwable throwable) |
boolean |
takeWithResult(K key,
V result) |
public Map<K,NoticeableFuture<V>> getOpenBids()
public NoticeableFuture<V> post(K key)
public NoticeableFuture<V> post(K key, boolean[] newMarker)
@Deprecated public NoticeableFuture<V> post(K key, DefaultNoticeableFuture<V> defaultNoticeableFuture)
post(Object,
boolean[])
public NoticeableFuture<V> take(K key)
public boolean takeWithException(K key, Throwable throwable)