org.apache.uima.aae.error
Class Threshold

java.lang.Object
  extended by org.apache.uima.aae.error.Threshold

public class Threshold
extends java.lang.Object


Constructor Summary
Threshold()
           
 
Method Summary
 boolean exceeded(long value)
           
 boolean exceededWindow(long casCount)
           
 java.lang.String getAction()
           
 boolean getContinueOnRetryFailure()
           
 int getMaxRetries()
           
 long getThreshold()
           
 long getWindow()
           
 Threshold initialize()
           
 boolean maxRetriesExceeded(long value)
           
 void setAction(java.lang.String action)
           
 void setContinueOnRetryFailure(boolean continueOnRetryFailure)
           
 void setMaxRetries(int maxRetries)
           
 void setThreshold(long aCount)
           
 void setWindow(long aWindow)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Threshold

public Threshold()
Method Detail

getWindow

public long getWindow()

setWindow

public void setWindow(long aWindow)

getThreshold

public long getThreshold()

setThreshold

public void setThreshold(long aCount)

initialize

public Threshold 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

public java.lang.String getAction()

setAction

public void setAction(java.lang.String action)


Copyright © 2012. All Rights Reserved.