|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.uima.collection.impl.cpm.CheckpointConfig
public class CheckpointConfig
Object containing checkpoint configuration.
| Constructor Summary | |
|---|---|
CheckpointConfig(java.lang.String aChpFile,
java.lang.String aFrequency)
Initilizes instance with a file where the checkpoint will be stored and checkpoint frequency. |
|
| Method Summary | |
|---|---|
java.lang.String |
getCheckpointFile()
Returns the path to a file containing checkpoint |
long |
getFrequency()
Returns checkpoint frequency |
boolean |
isCountBased()
Returns true if frequency is count based |
boolean |
isMillis()
Returns checkpoint frequency resolution in millis |
boolean |
isMinutes()
Returns checkpoint frequency resolution in minutes |
boolean |
isSeconds()
Retusn checkpoint frequency in seconds |
boolean |
isTimeBased()
Returns true if the checkpoint frequency is in terms of time |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CheckpointConfig(java.lang.String aChpFile,
java.lang.String aFrequency)
aChpFile - -
path to the checkpoint fileaFrequency - -
frequency of checkpoints| Method Detail |
|---|
public boolean isCountBased()
public long getFrequency()
public boolean isMillis()
public boolean isMinutes()
public boolean isSeconds()
public boolean isTimeBased()
public java.lang.String getCheckpointFile()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||