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, createSharedpublic LocalHitsThresholdChecker(int totalHitsThreshold)
public void incrementHitCount()
incrementHitCount in class HitsThresholdCheckerpublic boolean isThresholdReached()
isThresholdReached in class HitsThresholdCheckerpublic ScoreMode scoreMode()
scoreMode in class HitsThresholdCheckerpublic int getHitsThreshold()
getHitsThreshold in class HitsThresholdChecker