@GwtCompatible(emulated=true) abstract class AggregateFutureState extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
AggregateFutureState.AtomicHelper |
private static class |
AggregateFutureState.SafeAtomicHelper |
private static class |
AggregateFutureState.SynchronizedAtomicHelper |
Modifier and Type | Field and Description |
---|---|
private static AggregateFutureState.AtomicHelper |
ATOMIC_HELPER |
private static java.util.logging.Logger |
log |
private int |
remaining |
private java.util.Set<java.lang.Throwable> |
seenExceptions |
Constructor and Description |
---|
AggregateFutureState(int remainingFutures) |
Modifier and Type | Method and Description |
---|---|
(package private) abstract void |
addInitialException(java.util.Set<java.lang.Throwable> seen)
Populates
seen with the exception that was passed to setException . |
(package private) int |
decrementRemainingAndGet() |
(package private) java.util.Set<java.lang.Throwable> |
getOrInitSeenExceptions() |
private volatile java.util.Set<java.lang.Throwable> seenExceptions
private volatile int remaining
private static final AggregateFutureState.AtomicHelper ATOMIC_HELPER
private static final java.util.logging.Logger log
final java.util.Set<java.lang.Throwable> getOrInitSeenExceptions()
abstract void addInitialException(java.util.Set<java.lang.Throwable> seen)
seen
with the exception that was passed to setException
.final int decrementRemainingAndGet()