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 privateAtomicHelper()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description (package private) abstract voidcompareAndSetSeenExceptions(AggregateFutureState state, java.util.Set<java.lang.Throwable> expect, java.util.Set<java.lang.Throwable> update)Atomic compare-and-set of theAggregateFutureState.seenExceptionsfield.(package private) abstract intdecrementAndGetRemainingCount(AggregateFutureState state)Atomic decrement-and-get of theAggregateFutureState.remainingfield.
-
-
-
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.seenExceptionsfield.
-
decrementAndGetRemainingCount
abstract int decrementAndGetRemainingCount(AggregateFutureState state)
Atomic decrement-and-get of theAggregateFutureState.remainingfield.
-
-