Class AggregateFutureState.AtomicHelper
java.lang.Object
com.google.common.util.concurrent.AggregateFutureState.AtomicHelper
- Direct Known Subclasses:
AggregateFutureState.SafeAtomicHelper,AggregateFutureState.SynchronizedAtomicHelper
- Enclosing class:
- AggregateFutureState<OutputT>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) abstract voidcompareAndSetSeenExceptions(AggregateFutureState<?> state, Set<Throwable> expect, Set<Throwable> update) Atomic compare-and-set of theAggregateFutureState.seenExceptionsfield.(package private) abstract intAtomic decrement-and-get of theAggregateFutureState.remainingfield.
-
Constructor Details
-
AtomicHelper
private AtomicHelper()
-
-
Method Details
-
compareAndSetSeenExceptions
abstract void compareAndSetSeenExceptions(AggregateFutureState<?> state, @CheckForNull Set<Throwable> expect, Set<Throwable> update) Atomic compare-and-set of theAggregateFutureState.seenExceptionsfield. -
decrementAndGetRemainingCount
Atomic decrement-and-get of theAggregateFutureState.remainingfield.
-