private static class HitsThresholdChecker.LocalHitsThresholdChecker extends HitsThresholdChecker
Modifier and Type | Field and Description |
---|---|
private int |
hitCount |
private int |
totalHitsThreshold |
Constructor and Description |
---|
LocalHitsThresholdChecker(int totalHitsThreshold) |
Modifier and Type | Method and Description |
---|---|
int |
getHitsThreshold() |
void |
incrementHitCount() |
boolean |
isThresholdReached() |
ScoreMode |
scoreMode() |
create, createShared
public LocalHitsThresholdChecker(int totalHitsThreshold)
public void incrementHitCount()
incrementHitCount
in class HitsThresholdChecker
public boolean isThresholdReached()
isThresholdReached
in class HitsThresholdChecker
public ScoreMode scoreMode()
scoreMode
in class HitsThresholdChecker
public int getHitsThreshold()
getHitsThreshold
in class HitsThresholdChecker