Uses of Class
com.hazelcast.jet.accumulator.LongAccumulator
Packages that use LongAccumulator
Package
Description
Classes intended to be used for accumulator objects in an
AggregateOperation
.Contains
AggregateOperation
and its several variants, as well
as a builder object for the aggregate operations.-
Uses of LongAccumulator in com.hazelcast.jet.accumulator
Methods in com.hazelcast.jet.accumulator that return LongAccumulatorModifier and TypeMethodDescriptionLongAccumulator.add
(long value) Adds the supplied value to this accumulator, throwing an exception in the case of integer overflow.LongAccumulator.add
(LongAccumulator that) Adds the value of the supplied accumulator to this accumulator, throwing an exception in the case of integer overflow.LongAccumulator.addAllowingOverflow
(long value) Adds the supplied value to this accumulator, allowing integer overflow.LongAccumulator.addAllowingOverflow
(LongAccumulator that) Adds the value of the supplied accumulator to this accumulator, allowing integer overflow.LongAccumulator.set
(long value) Sets the value as given.LongAccumulator.subtract
(long value) Subtracts the supplied value from this accumulator, throwing an exception in the case of integer overflow.LongAccumulator.subtract
(LongAccumulator that) Subtracts the value of the supplied accumulator from this one, throwing an exception in the case of integer overflow.LongAccumulator.subtractAllowingOverflow
(long value) Subtracts the supplied value from this accumulator, allowing integer overflow.LongAccumulator.subtractAllowingOverflow
(LongAccumulator that) Subtracts the value of the supplied accumulator from this one, allowing integer overflow.Methods in com.hazelcast.jet.accumulator with parameters of type LongAccumulatorModifier and TypeMethodDescriptionLongAccumulator.add
(LongAccumulator that) Adds the value of the supplied accumulator to this accumulator, throwing an exception in the case of integer overflow.LongAccumulator.addAllowingOverflow
(LongAccumulator that) Adds the value of the supplied accumulator to this accumulator, allowing integer overflow.LongAccumulator.subtract
(LongAccumulator that) Subtracts the value of the supplied accumulator from this one, throwing an exception in the case of integer overflow.LongAccumulator.subtractAllowingOverflow
(LongAccumulator that) Subtracts the value of the supplied accumulator from this one, allowing integer overflow. -
Uses of LongAccumulator in com.hazelcast.jet.aggregate
Methods in com.hazelcast.jet.aggregate that return types with arguments of type LongAccumulatorModifier and TypeMethodDescriptionstatic <T> AggregateOperation1<T,
LongAccumulator, Long> AggregateOperations.counting()
Returns an aggregate operation that counts the items it observes.static <T> AggregateOperation1<T,
LongAccumulator, Long> AggregateOperations.summingLong
(ToLongFunctionEx<? super T> getLongValueFn) Returns an aggregate operation that computes the sum of thelong
values it obtains by applyinggetLongValueFn
to each item.