Class AggregateFutureState.AtomicHelper
- java.lang.Object
-
- com.google.common.util.concurrent.AggregateFutureState.AtomicHelper
-
- Direct Known Subclasses:
AggregateFutureState.SafeAtomicHelper
,AggregateFutureState.SynchronizedAtomicHelper
- Enclosing class:
- AggregateFutureState
private abstract static class AggregateFutureState.AtomicHelper extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description private
AtomicHelper()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description (package private) abstract void
compareAndSetSeenExceptions(AggregateFutureState state, java.util.Set<java.lang.Throwable> expect, java.util.Set<java.lang.Throwable> update)
Atomic compare-and-set of theAggregateFutureState.seenExceptions
field.(package private) abstract int
decrementAndGetRemainingCount(AggregateFutureState state)
Atomic decrement-and-get of theAggregateFutureState.remaining
field.
-
-
-
Method Detail
-
compareAndSetSeenExceptions
abstract void compareAndSetSeenExceptions(AggregateFutureState state, java.util.Set<java.lang.Throwable> expect, java.util.Set<java.lang.Throwable> update)
Atomic compare-and-set of theAggregateFutureState.seenExceptions
field.
-
decrementAndGetRemainingCount
abstract int decrementAndGetRemainingCount(AggregateFutureState state)
Atomic decrement-and-get of theAggregateFutureState.remaining
field.
-
-