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 void
compareAndSetSeenExceptions
(AggregateFutureState<?> state, Set<Throwable> expect, Set<Throwable> update) Atomic compare-and-set of theAggregateFutureState.seenExceptions
field.(package private) abstract int
Atomic decrement-and-get of theAggregateFutureState.remaining
field.
-
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.seenExceptions
field. -
decrementAndGetRemainingCount
Atomic decrement-and-get of theAggregateFutureState.remaining
field.
-