Class ThreadedAccumulator<T,A,R>
- java.lang.Object
-
- com.linkedin.alpini.base.concurrency.ThreadedAccumulator<T,A,R>
-
- All Implemented Interfaces:
java.util.function.Consumer<T>
,java.util.function.Supplier<R>
public class ThreadedAccumulator<T,A,R> extends java.lang.Object implements java.util.function.Consumer<T>, java.util.function.Supplier<R>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(T t)
R
get()
R
getThenReset()
void
pack()
void
reset()
-