Package org.apache.uima.aae.error
Class Threshold
java.lang.Object
org.apache.uima.aae.error.Threshold
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexceeded(long value) booleanexceededWindow(long casCount) booleanintlonglongbooleanmaxRetriesExceeded(long value) voidvoidsetContinueOnRetryFailure(boolean continueOnRetryFailure) voidsetMaxRetries(int maxRetries) voidsetThreshold(long aCount) voidsetWindow(long aWindow)
-
Constructor Details
-
Threshold
public Threshold()
-
-
Method Details
-
getWindow
public long getWindow() -
setWindow
public void setWindow(long aWindow) -
getThreshold
public long getThreshold() -
setThreshold
public void setThreshold(long aCount) -
initialize
-
exceeded
public boolean exceeded(long value) -
exceededWindow
public boolean exceededWindow(long casCount) -
maxRetriesExceeded
public boolean maxRetriesExceeded(long value) -
getMaxRetries
public int getMaxRetries() -
setMaxRetries
public void setMaxRetries(int maxRetries) -
getContinueOnRetryFailure
public boolean getContinueOnRetryFailure() -
setContinueOnRetryFailure
public void setContinueOnRetryFailure(boolean continueOnRetryFailure) -
getAction
-
setAction
-