final class MaxScoreAccumulator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
MaxScoreAccumulator.DocAndScore |
Modifier and Type | Field and Description |
---|---|
(package private) java.util.concurrent.atomic.LongAccumulator |
acc |
(package private) static int |
DEFAULT_INTERVAL |
(package private) long |
modInterval |
Constructor and Description |
---|
MaxScoreAccumulator() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
accumulate(int docID,
float score) |
(package private) MaxScoreAccumulator.DocAndScore |
get() |
static final int DEFAULT_INTERVAL
final java.util.concurrent.atomic.LongAccumulator acc
long modInterval
void accumulate(int docID, float score)
MaxScoreAccumulator.DocAndScore get()