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