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