|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.collection.impl.cpm.CPEConfig
public class CPEConfig
Object containing global cpe configuration.
Constructor Summary | |
---|---|
CPEConfig()
|
Method Summary | |
---|---|
CheckpointConfig |
getChConfig()
Returns CPE checkpoint configuration |
java.lang.String |
getDeployAs()
Returns CPE statup mode as defined in the CPE descriptor |
long |
getInputQueueMaxMemoryThreshold()
|
long |
getMaxTimeToWait()
|
long |
getNumToProcess()
Returns number of entities to process by the CPE. |
java.lang.String |
getOutputQueueClass()
|
java.lang.String |
getStartWith()
Returns an id of the first entity the CollectionReader will be told to read |
java.lang.String |
getTimerClass()
Returns the name of custom UimaTimer class. |
void |
setChConfig(CheckpointConfig config)
Copies Checkpoint configuration |
void |
setDeployAs(java.lang.String aCpeDeployMode)
Copies CPE startup mode |
void |
setInputQueueMaxMemoryThreshold(long aInputQueueMaxMemoryThreshold)
|
void |
setMaxTimeToWait(long aMaxTimeToWait)
|
void |
setNumToProcess(long aTotalCount)
Copies number of entities to process |
void |
setOutputQueueClass(java.lang.String aOutputQueueClass)
|
void |
setStartWith(java.lang.String aStartEntityId)
Copies ind of the first entity to start reading |
void |
setTimerClass(java.lang.String aTimerClass)
Copies a name of the custom UimaTimer class |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CPEConfig()
Method Detail |
---|
public CheckpointConfig getChConfig()
public java.lang.String getDeployAs()
public long getNumToProcess()
public java.lang.String getStartWith()
CollectionReader
will be told to read
public java.lang.String getTimerClass()
UimaTimer
class.
public void setChConfig(CheckpointConfig config)
config
- -
checkpoint configurationpublic void setDeployAs(java.lang.String aCpeDeployMode)
string
- -
startup modepublic void setNumToProcess(long aTotalCount)
aTotalCount
- -
total number of entities to processpublic void setStartWith(java.lang.String aStartEntityId)
string
- -
id of entitypublic void setTimerClass(java.lang.String aTimerClass)
UimaTimer
class
string
- -
timer classpublic long getInputQueueMaxMemoryThreshold()
public void setInputQueueMaxMemoryThreshold(long aInputQueueMaxMemoryThreshold)
public long getMaxTimeToWait()
public void setMaxTimeToWait(long aMaxTimeToWait)
public java.lang.String getOutputQueueClass()
public void setOutputQueueClass(java.lang.String aOutputQueueClass)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |