public static final class Accumulator.MaxAccumulator extends Accumulator
Accumulator.MaxAccumulator, Accumulator.MinAccumulator, Accumulator.SeqAccumulator, Accumulator.SumAccumulator, Accumulator.Type
_tree
Modifier and Type | Method and Description |
---|---|
void |
maximum(long max)
Modify the Accumulator so that its value is no greater than the
supplied value.
|
getLiveValue, getSnapshotValue, toString
public void maximum(long max)
Modify the Accumulator so that its value is no greater than the
supplied value. 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
.
max
- The candidate maximum valueCopyright © 2025 Open Identity Platform Community. All rights reserved.