|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CpeCheckpoint
An object that holds configuration that is part of the CPE descriptor. It provides the means of configuring CPE checkpoint. The checkpoint contains a name of the file where the recovery information will be stored and a frequency of checkpoints.
Method Summary | |
---|---|
int |
getBatchSize()
|
String |
getFilePath()
Returns file where checkpoint information is stored |
int |
getFrequency()
Returns frequency of checkpoints. |
boolean |
isTimeBased()
Returns true if frequency of checkpoints is time-based |
void |
setBatchSize(int aBatchSize)
|
void |
setFilePath(String aCheckpointFilePath)
Sets the file where checkpoint information will be stored |
void |
setFrequency(int aFrequency,
boolean aTimeBased)
Sets frequency of checkpoints. |
Methods inherited from interface org.apache.uima.resource.metadata.MetaDataObject |
---|
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl |
Methods inherited from interface org.apache.uima.util.XMLizable |
---|
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML |
Method Detail |
---|
void setFilePath(String aCheckpointFilePath) throws CpeDescriptorException
aCheckpointFilePath
- -
checkpoint file path
CpeDescriptorException
String getFilePath()
void setFrequency(int aFrequency, boolean aTimeBased)
aFrequency
- -
number of millis between checkpointsaTimeBased
- -
true if checkpoint is based on timeint getFrequency()
boolean isTimeBased()
void setBatchSize(int aBatchSize)
aBatchSize
- int getBatchSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |