public class AggregateProcessCasErrorsImpl extends ProcessCasErrorsImpl implements AggregateProcessCasErrors
pcet
Modifier | Constructor and Description |
---|---|
protected |
AggregateProcessCasErrorsImpl(org.apache.uima.resourceSpecifier.ProcessCasErrorsType pcet,
ServiceContext context,
boolean topLevel)
Instantiates a new aggregate process cas errors impl.
|
Modifier and Type | Method and Description |
---|---|
boolean |
continueOnRetryFailure()
Continue on retry failure.
|
int |
getMaxRetries()
Gets the max retries.
|
int |
getTimeout()
Gets the timeout.
|
void |
setContinueOnRetryFailure()
Sets the continue on retry failure.
|
void |
setMaxRetris(int retries)
Sets the max retris.
|
void |
setTimeout(int timeout)
Sets the timeout.
|
getThresholdAction, getThresholdCount, getThresholdWindow, setThresholdAction, setThresholdCount, setThresholdWindow
getAction, setAction, setMaxRetries
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getThresholdAction, getThresholdCount, getThresholdWindow, setThresholdAction, setThresholdCount, setThresholdWindow
getAction, setAction, setMaxRetries
protected AggregateProcessCasErrorsImpl(org.apache.uima.resourceSpecifier.ProcessCasErrorsType pcet, ServiceContext context, boolean topLevel)
pcet
- the pcetcontext
- the contexttopLevel
- the top levelpublic int getMaxRetries()
ErrorHandlingSettings
getMaxRetries
in interface AggregateProcessCasErrors
getMaxRetries
in interface ErrorHandlingSettings
getMaxRetries
in class ErrorHandlingSettingsImpl
public void setMaxRetris(int retries)
AggregateProcessCasErrors
setMaxRetris
in interface AggregateProcessCasErrors
retries
- the new max retrispublic int getTimeout()
ErrorHandlingSettings
getTimeout
in interface AggregateProcessCasErrors
getTimeout
in interface ErrorHandlingSettings
getTimeout
in class ErrorHandlingSettingsImpl
public void setTimeout(int timeout)
ErrorHandlingSettings
setTimeout
in interface AggregateProcessCasErrors
setTimeout
in interface ErrorHandlingSettings
setTimeout
in class ErrorHandlingSettingsImpl
timeout
- the new timeoutpublic boolean continueOnRetryFailure()
AggregateProcessCasErrors
continueOnRetryFailure
in interface AggregateProcessCasErrors
public void setContinueOnRetryFailure()
AggregateProcessCasErrors
setContinueOnRetryFailure
in interface AggregateProcessCasErrors
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.