| |
|
| java.lang.Object org.archive.crawler.datamodel.Checkpoint
Checkpoint | public class Checkpoint implements Serializable(Code) | | Record of a specific checkpoint on disk.
Used recovering from a checkpoint or displaying list of checkpoints done
so far.
author: gojomo |
Constructor Summary | |
protected | Checkpoint() Publically inaccessible default constructor. | public | Checkpoint(File checkpointDir) |
VALIDITY_STAMP_FILENAME | final public static String VALIDITY_STAMP_FILENAME(Code) | | Name of file written with timestamp into valid checkpoints.
|
Checkpoint | protected Checkpoint()(Code) | | Publically inaccessible default constructor.
|
Checkpoint | public Checkpoint(File checkpointDir)(Code) | | Create a Checkpoint instance based on the given prexisting
checkpoint directory
Parameters: checkpointDir - Directory that holds checkpoint. |
getDirectory | public File getDirectory()(Code) | | Returns the checkpoint directory. |
getDisplayName | public String getDisplayName()(Code) | | Return the combination of given name and timestamp most commonlyused in administrative interface. |
getName | public String getName()(Code) | | Returns name of this Checkpoint |
getTimestamp | public String getTimestamp()(Code) | | Returns the timestamp. |
hasBdbjeLogs | public boolean hasBdbjeLogs()(Code) | | True if this checkpoint contains bdb logs (It won't if we'redoing 'fast' checkpoints). |
isValid | public boolean isValid()(Code) | | Return true if this checkpoint appears complete/resumable(has 'valid' stamp file). |
readValid | protected void readValid()(Code) | | |
|
|
|