Logo Search packages:      
Sourcecode: uimaj version File versions  Download package

Public Member Functions | Static Public Attributes | Protected Member Functions

org::apache::uima::collection::impl::base_cpm::container::ProcessingContainer Class Reference

Inheritance diagram for org::apache::uima::collection::impl::base_cpm::container::ProcessingContainer:
Inheritance graph
[legend]
Collaboration diagram for org::apache::uima::collection::impl::base_cpm::container::ProcessingContainer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

abstract boolean abortCPMOnError ()
abstract void addBytesIn (long aBytesIn)
abstract void addBytesOut (long aBytesOut)
abstract void addStat (String aStatName, Object aStat)
void destroy ()
abstract int getAbortCount ()
abstract HashMap getAllStats ()
abstract long getBytesIn ()
abstract long getBytesOut ()
CasManager getCasManager ()
CasProcessor getCasProcessor ()
abstract CasProcessorConfiguration getCasProcessorConfiguration ()
Object getConfigParameterValue (String aParamName)
Object getConfigParameterValue (String aGroupName, String aParamName)
abstract CasProcessorDeployer getDeployer ()
abstract int getFilteredCount ()
abstract Object getLastCas ()
abstract String getLastProcessedEntityId ()
Logger getLogger ()
ResourceMetaData getMetaData ()
abstract String getName ()
abstract ServiceProxyPool getPool ()
abstract long getProcessed ()
abstract long getRemaining ()
ResourceManager getResourceManager ()
abstract int getRestartCount ()
abstract int getRetryCount ()
abstract Object getStat (String aStatName)
int getStatus ()
abstract long getTotalTime ()
UimaContext getUimaContext ()
UimaContextAdmin getUimaContextAdmin ()
abstract void incrementAbortCount (int aCount)
abstract void incrementCasProcessorErrors (Throwable aThrowable) throws Exception
abstract void incrementFilteredCount (int aCount)
abstract void incrementRestartCount (int aCount)
abstract void incrementRetryCount (int aCount)
abstract void incrementStat (String aStatName, Integer aStat)
abstract void incrementTotalTime (long aTime)
boolean initialize (ResourceSpecifier aSpecifier, Map< String, Object > aAdditionalParams) throws ResourceInitializationException
boolean isAbortable ()
abstract boolean isEndOfBatch (CasProcessor aCasProcessor, int aProcessedSize) throws ResourceProcessException, IOException
boolean isIntegrated ()
boolean isLocal ()
abstract boolean isPaused ()
boolean isRemote ()
abstract boolean isSingleFencedService ()
abstract void logAbortedCases (Object[] abortedCasList)
abstract void pause ()
abstract boolean processCas (Object[] aCas)
void reconfigure () throws ResourceConfigurationException
abstract void releaseCasProcessor (CasProcessor aCasProcessor)
abstract void resetRestartCount ()
abstract void resume ()
abstract void setCasProcessorDeployer (CasProcessorDeployer aDeployer)
void setConfigParameterValue (String aParamName, Object aValue)
void setConfigParameterValue (String aGroupName, String aParamName, Object aValue)
abstract void setLastCas (Object aCasObject)
abstract void setLastProcessedEntityId (String entityId)
void setLogger (Logger aLogger)
abstract void setMetadata (ProcessingResourceMetaData aMetadata)
abstract void setProcessed (long aProcessedCount)
abstract void setRemaining (long aRemainingCount)
abstract void setSingleFencedService (boolean aSingleFencedInstance)
void setStatus (int aStatus)

Static Public Attributes

static final int DISABLED = 3
static final int INITIALIZED = 1
static final int KILLED = 4
static final int NOTINITIALIZED = 0
static final String PARAM_AGGREGATE_SOFA_MAPPINGS = "AGGREGATE_SOFA_MAPPINGS"
static final String PARAM_CONFIG_PARAM_SETTINGS = "CONFIG_PARAM_SETTINGS"
static final String PARAM_PERFORMANCE_TUNING_SETTINGS = "PERFORMANCE_TUNING_SETTINGS"
static final String PARAM_RESOURCE_MANAGER = "RESOURCE_MANAGER"
static final String PARAM_UIMA_CONTEXT = "UIMA_CONTEXT"
static final int RUNNING = 2

Protected Member Functions

void setMetaData (ResourceMetaData aMetaData)

Detailed Description

Base interface for implementing a Container object responsible for managing Cas Processor instances at runtime. Aggregates stats and totals and helps with error recovery.

Definition at line 37 of file ProcessingContainer.java.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index