public interface CpeCasProcessor extends MetaDataObject
Modifier and Type | Method and Description |
---|---|
void |
addDeployParam(String aParamName,
String aParamValue)
Adds deployment parameter used by the CPE when launching CasProcessor
|
String |
getActionOnMaxError()
Returns strategy for dealing with exceeding error thresholds.
|
String |
getActionOnMaxRestart()
Returns strategy for dealing with exceeding error thresholds.
|
int |
getBatchSize()
Returns CasProcessor batch size
|
String |
getCasProcessorFilter()
Returns CasProcessor filter expression.
|
CpeCheckpoint |
getCheckpoint()
Returns
CpeCheckpoint object containing checkpoint
configuration ( checkpoint file, frequency of checkpoints ) |
CasProcessorConfigurationParameterSettings |
getConfigurationParameterSettings()
Returns
CasProcessorConfigurationParameterSettings
object containing overrides to parameter settings for this CAS Processor. |
CpeComponentDescriptor |
getCpeComponentDescriptor()
Returns the
CpeComponentDescriptor instance associated with this Cas Processor. |
String |
getDeployment()
Returns CasProcessor deployment type.
|
CasProcessorDeploymentParams |
getDeploymentParams()
Returns
CasProcessorDeploymentParams object
containing deployment parameters used for launching CasProcessor. |
String |
getDescriptor()
Deprecated.
Doesn't support the new import syntax. Use getCpeComponentDescriptor().findAbsoluteUrl() instead.
|
CasProcessorErrorHandling |
getErrorHandling()
Returns
CasProcessorErrorHandling object containing
strategies to deal with errors that may occur during processing. |
boolean |
getIsParallelizable() |
int |
getMaxErrorCount()
Returns the max number of errors tolerated by the CPE.
|
int |
getMaxErrorSampleSize()
Returns sample size.
|
int |
getMaxRestartCount()
Returns max restarts threshold fro CasProcessor
|
String |
getName()
Returns CasProcessor's name
|
CasProcessorRunInSeperateProcess |
getRunInSeparateProcess() |
String |
getSOFA() |
CpeSofaMappings |
getSofaNameMappings() |
int |
getTimeout()
Returns the timeout value.
|
void |
setActionOnMaxError(String aAction)
Sets a strategy for dealing with exceeding error thresholds.
|
void |
setActionOnMaxRestart(String aAction)
Sets strategy for dealing with exceeding error thresholds.
|
void |
setBatchSize(int aBatchSize)
Sets CasProcessor's batch size.
|
void |
setCasProcessorFilter(String aFilterExpression)
Sets CasProcessor filter expression used by the CPE to route CASs.
|
void |
setConfigurationParameterSettings(CasProcessorConfigurationParameterSettings aSettings)
Sets the
CasProcessorConfigurationParameterSettings
object containing overrides to parameter settings for this CAS Processor. |
void |
setCpeComponentDescriptor(CpeComponentDescriptor aDescriptor)
Sets the
CpeComponentDescriptor instance associated with this Cas Processor. |
void |
setDescriptor(String aDescriptor)
Deprecated.
Doesn't support the new import syntax. Use setCpeComponentDescriptor() instead.
|
void |
setIsParallelizable(boolean isP) |
void |
setMaxErrorCount(int aErrorCount)
Sets the max number of errors tolerated by the CPE.
|
void |
setMaxErrorSampleSize(int aErrorSampleSize)
Sets the sample size.
|
void |
setMaxRestartCount(int aErrorCount)
Sets max tolerated restarts threshold for CasProcessor
|
void |
setName(String aName)
Sets CasProcessor's name
|
void |
setSOFA(String aSOFA) |
void |
setSofaNameMappings(CpeSofaMappings mappings) |
void |
setTimeout(int aTimeoutValue)
Sets the timeout value.
|
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
void setName(String aName) throws CpeDescriptorException
aName
- -
CasProcessor nameCpeDescriptorException
- tbdString getName()
void setSOFA(String aSOFA) throws CpeDescriptorException
CpeDescriptorException
String getSOFA()
@Deprecated void setDescriptor(String aDescriptor) throws CpeDescriptorException
aDescriptor
- -
descriptor pathCpeDescriptorException
- tbd@Deprecated String getDescriptor()
CpeComponentDescriptor getCpeComponentDescriptor()
CpeComponentDescriptor
instance associated with this Cas Processor. That
object contains a path to the component descriptor.CpeComponentDescriptor
instancevoid setCpeComponentDescriptor(CpeComponentDescriptor aDescriptor) throws CpeDescriptorException
CpeComponentDescriptor
instance associated with this Cas Processor. That
object contains a path to the component descriptor.aDescriptor
- CpeComponentDescriptor
instanceCpeDescriptorException
- tbdString getDeployment()
void setCasProcessorFilter(String aFilterExpression) throws CpeDescriptorException
aFilterExpression
- -
filterCpeDescriptorException
- tbdString getCasProcessorFilter()
void setBatchSize(int aBatchSize)
aBatchSize
- -
size of CasProcessor batchint getBatchSize()
CasProcessorErrorHandling getErrorHandling()
CasProcessorErrorHandling
object containing
strategies to deal with errors that may occur during processing. This object provides the means
of modifying error thresholds and actions to take when error thresholds are exceeded.CasProcessorErrorHandling
CpeCheckpoint getCheckpoint()
CpeCheckpoint
object containing checkpoint
configuration ( checkpoint file, frequency of checkpoints )CasProcessorErrorHandling
CasProcessorDeploymentParams getDeploymentParams()
CasProcessorDeploymentParams
object
containing deployment parameters used for launching CasProcessor. This object provides the
means of adding, getting, and removing
CasProcessorDeploymentParam
objects.CasProcessorDeploymentParam
void setMaxErrorCount(int aErrorCount)
aErrorCount
- -
max error thresholdint getMaxErrorCount()
void setMaxErrorSampleSize(int aErrorSampleSize)
aErrorSampleSize
- the sample sizeint getMaxErrorSampleSize()
void setActionOnMaxError(String aAction)
aAction
- -
action to takeString getActionOnMaxError()
void setMaxRestartCount(int aErrorCount)
aErrorCount
- -
max restart countint getMaxRestartCount()
void setActionOnMaxRestart(String aAction)
aAction
- -
action to takeString getActionOnMaxRestart()
void setTimeout(int aTimeoutValue)
aTimeoutValue
- -
timeout valueint getTimeout()
void addDeployParam(String aParamName, String aParamValue) throws CpeDescriptorException
aParamName
- -
param nameaParamValue
- -
param valueCpeDescriptorException
- tbdCasProcessorConfigurationParameterSettings getConfigurationParameterSettings()
CasProcessorConfigurationParameterSettings
object containing overrides to parameter settings for this CAS Processor.void setConfigurationParameterSettings(CasProcessorConfigurationParameterSettings aSettings) throws CpeDescriptorException
CasProcessorConfigurationParameterSettings
object containing overrides to parameter settings for this CAS Processor.aSettings
- object containing parameter setting overridesCpeDescriptorException
- tbdCpeSofaMappings getSofaNameMappings()
void setSofaNameMappings(CpeSofaMappings mappings)
mappings
- -CasProcessorRunInSeperateProcess getRunInSeparateProcess()
void setIsParallelizable(boolean isP)
boolean getIsParallelizable()
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.