org.apache.uima.resourceSpecifier.factory.impl
Class ProcessErrorHandlingSettingsImpl

java.lang.Object
  extended by org.apache.uima.resourceSpecifier.factory.impl.ErrorHandlingSettingsImpl
      extended by org.apache.uima.resourceSpecifier.factory.impl.ProcessErrorHandlingSettingsImpl
All Implemented Interfaces:
ErrorHandlingSettings, ProcessErrorHandlingSettings

public class ProcessErrorHandlingSettingsImpl
extends ErrorHandlingSettingsImpl
implements ProcessErrorHandlingSettings

The Class ProcessErrorHandlingSettingsImpl.


Constructor Summary
ProcessErrorHandlingSettingsImpl()
          Instantiates a new process error handling settings impl.
ProcessErrorHandlingSettingsImpl(int retryCount, int timeout, Action action, boolean continueOnRetruFailure, int thresholdCount, int thresholdWindow)
          Instantiates a new process error handling settings impl.
 
Method Summary
 boolean continueOnRetryFailure()
          Continue on retry failure.
 int getThresholdCount()
          Gets the threshold count.
 int getThresholdWindow()
          Gets the threshold window.
 void setContinueOnRetryFailure(boolean continueOnRetryFailure)
          Sets the continue on retry failure.
 void setThresholdCount(int thresholdCount)
          Sets the threshold count.
 void setThresholdWindow(int thresholdWindow)
          Sets the threshold window.
 
Methods inherited from class org.apache.uima.resourceSpecifier.factory.impl.ErrorHandlingSettingsImpl
getAction, getMaxRetries, getTimeout, setAction, setMaxRetries, setTimeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.uima.resourceSpecifier.factory.ErrorHandlingSettings
getAction, getMaxRetries, getTimeout, setAction, setMaxRetries, setTimeout
 

Constructor Detail

ProcessErrorHandlingSettingsImpl

public ProcessErrorHandlingSettingsImpl()
Instantiates a new process error handling settings impl.


ProcessErrorHandlingSettingsImpl

public ProcessErrorHandlingSettingsImpl(int retryCount,
                                        int timeout,
                                        Action action,
                                        boolean continueOnRetruFailure,
                                        int thresholdCount,
                                        int thresholdWindow)
Instantiates a new process error handling settings impl.

Parameters:
retryCount - the retry count
timeout - the timeout
action - the action
continueOnRetruFailure - the continue on retru failure
thresholdCount - the threshold count
thresholdWindow - the threshold window
Method Detail

setContinueOnRetryFailure

public void setContinueOnRetryFailure(boolean continueOnRetryFailure)
Description copied from interface: ProcessErrorHandlingSettings
Sets the continue on retry failure.

Specified by:
setContinueOnRetryFailure in interface ProcessErrorHandlingSettings
Parameters:
continueOnRetryFailure - the new continue on retry failure

continueOnRetryFailure

public boolean continueOnRetryFailure()
Description copied from interface: ProcessErrorHandlingSettings
Continue on retry failure.

Specified by:
continueOnRetryFailure in interface ProcessErrorHandlingSettings
Returns:
true, if successful

setThresholdCount

public void setThresholdCount(int thresholdCount)
Description copied from interface: ProcessErrorHandlingSettings
Sets the threshold count.

Specified by:
setThresholdCount in interface ProcessErrorHandlingSettings
Parameters:
thresholdCount - the new threshold count

getThresholdCount

public int getThresholdCount()
Description copied from interface: ProcessErrorHandlingSettings
Gets the threshold count.

Specified by:
getThresholdCount in interface ProcessErrorHandlingSettings
Returns:
the threshold count

setThresholdWindow

public void setThresholdWindow(int thresholdWindow)
Description copied from interface: ProcessErrorHandlingSettings
Sets the threshold window.

Specified by:
setThresholdWindow in interface ProcessErrorHandlingSettings
Parameters:
thresholdWindow - the new threshold window

getThresholdWindow

public int getThresholdWindow()
Description copied from interface: ProcessErrorHandlingSettings
Gets the threshold window.

Specified by:
getThresholdWindow in interface ProcessErrorHandlingSettings
Returns:
the threshold window


Copyright © 2006-2012 The Apache Software Foundation. All Rights Reserved.