public static final class Accumulator.SumAccumulator extends Accumulator
Accumulator.MaxAccumulator, Accumulator.MinAccumulator, Accumulator.SeqAccumulator, Accumulator.SumAccumulator, Accumulator.Type
_tree
Modifier and Type | Method and Description |
---|---|
void |
add(long value)
Add the supplied value to this
SumAccumulator . |
getLiveValue, getSnapshotValue, toString
public void add(long value)
Add the supplied value to this SumAccumulator
. The
contribution is immediately accumulated into the live value, and it
is also posted with a Delta
instance to the supplied
Transaction
. This method may be called only within the scope
of an active Transaction
.
value
- The delta valueCopyright © 2025 Open Identity Platform Community. All rights reserved.