Package com.google.common.cache
Interface LongAddable
-
- All Known Implementing Classes:
LongAddables.PureJavaLongAddable
,LongAdder
@GwtCompatible interface LongAddable
Abstract interface for objects that can concurrently add longs.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(long x)
void
increment()
long
sum()
-