abstract class HitsThresholdChecker
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
HitsThresholdChecker.GlobalHitsThresholdChecker
Implementation of HitsThresholdChecker which allows global hit counting
|
private static class |
HitsThresholdChecker.LocalHitsThresholdChecker
Default implementation of HitsThresholdChecker to be used for single threaded execution
|
Constructor and Description |
---|
HitsThresholdChecker() |
Modifier and Type | Method and Description |
---|---|
static HitsThresholdChecker |
create(int totalHitsThreshold) |
static HitsThresholdChecker |
createShared(int totalHitsThreshold) |
abstract int |
getHitsThreshold() |
abstract void |
incrementHitCount() |
abstract boolean |
isThresholdReached() |
abstract ScoreMode |
scoreMode() |
public static HitsThresholdChecker create(int totalHitsThreshold)
public static HitsThresholdChecker createShared(int totalHitsThreshold)
public abstract void incrementHitCount()
public abstract ScoreMode scoreMode()
public abstract int getHitsThreshold()
public abstract boolean isThresholdReached()