public class AsyncPrimitiveErrorConfigurationImpl extends Object implements AsyncPrimitiveErrorConfiguration
Modifier | Constructor and Description |
---|---|
protected |
AsyncPrimitiveErrorConfigurationImpl(org.apache.uima.resourceSpecifier.AsyncPrimitiveErrorConfigurationType aect,
ServiceContext context,
boolean topLevel)
Instantiates a new async primitive error configuration impl.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getContinueOnRetryFailure()
Gets the continue on retry failure.
|
ProcessCasErrors |
getProcessCasErrors()
Gets the process cas errors.
|
Action |
getThresholdAction()
Gets the threshold action.
|
int |
getThresholdCount()
Gets the threshold count.
|
int |
getThresholdWindow()
Gets the threshold window.
|
long |
getTimeout()
Gets the timeout.
|
void |
setContinueOnRetryFailure()
Sets the continue on retry failure.
|
void |
setProcessCasErrors(ProcessCasErrors pce)
Sets the process cas errors.
|
void |
setThresholdAction(Action pa)
Sets the threshold action.
|
void |
setThresholdCount(int threshold)
Sets the threshold count.
|
void |
setThresholdWindow()
Sets the threshold window.
|
void |
setTimeout(long timeout)
Sets the timeout.
|
protected AsyncPrimitiveErrorConfigurationImpl(org.apache.uima.resourceSpecifier.AsyncPrimitiveErrorConfigurationType aect, ServiceContext context, boolean topLevel)
aect
- the aectcontext
- the contexttopLevel
- the top levelpublic ProcessCasErrors getProcessCasErrors()
AsyncPrimitiveErrorConfiguration
getProcessCasErrors
in interface AsyncPrimitiveErrorConfiguration
public void setProcessCasErrors(ProcessCasErrors pce)
AsyncPrimitiveErrorConfiguration
setProcessCasErrors
in interface AsyncPrimitiveErrorConfiguration
pce
- the new process cas errorspublic long getTimeout()
AsyncPrimitiveErrorConfiguration
getTimeout
in interface AsyncPrimitiveErrorConfiguration
public void setTimeout(long timeout)
AsyncPrimitiveErrorConfiguration
setTimeout
in interface AsyncPrimitiveErrorConfiguration
timeout
- the new timeoutpublic int getThresholdCount()
AsyncPrimitiveErrorConfiguration
getThresholdCount
in interface AsyncPrimitiveErrorConfiguration
public void setThresholdCount(int threshold)
AsyncPrimitiveErrorConfiguration
setThresholdCount
in interface AsyncPrimitiveErrorConfiguration
threshold
- the new threshold countpublic boolean getContinueOnRetryFailure()
AsyncPrimitiveErrorConfiguration
getContinueOnRetryFailure
in interface AsyncPrimitiveErrorConfiguration
public void setContinueOnRetryFailure()
AsyncPrimitiveErrorConfiguration
setContinueOnRetryFailure
in interface AsyncPrimitiveErrorConfiguration
public int getThresholdWindow()
AsyncPrimitiveErrorConfiguration
getThresholdWindow
in interface AsyncPrimitiveErrorConfiguration
public void setThresholdWindow()
AsyncPrimitiveErrorConfiguration
setThresholdWindow
in interface AsyncPrimitiveErrorConfiguration
public Action getThresholdAction()
AsyncPrimitiveErrorConfiguration
getThresholdAction
in interface AsyncPrimitiveErrorConfiguration
public void setThresholdAction(Action pa)
AsyncPrimitiveErrorConfiguration
setThresholdAction
in interface AsyncPrimitiveErrorConfiguration
pa
- the new threshold actionCopyright © 2006–2016 The Apache Software Foundation. All rights reserved.