public class PromiseLatch<T> extends Object
| Constructor and Description |
|---|
PromiseLatch(int counter) |
PromiseLatch(int counter,
IPromise<T> wrapped) |
PromiseLatch(IPromise<T> wrapped) |
PromiseLatch(IPromise<T> wrapped,
int counter) |
| Modifier and Type | Method and Description |
|---|---|
void |
countDown() |
void |
countDown(T result,
Object error) |
void |
countUp(int amount) |
int |
getCount()
debug, cannot be used to implement reliable logic in a concurrent environment
|
IPromise<T> |
getPromise() |
Copyright © 2015. All rights reserved.