|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.File
org.archive.wayback.resourcestore.locationdb.ResourceFileLocationDBLog
public class ResourceFileLocationDBLog
Simple log file tracking new names being added to a ResourceFileLocationDB. Also supports returning an iterator of Strings to a byte range of the log, to simplify tracking deltas to the DB.
| Field Summary |
|---|
| Fields inherited from class java.io.File |
|---|
pathSeparator, pathSeparatorChar, separator, separatorChar |
| Constructor Summary | |
|---|---|
ResourceFileLocationDBLog(java.lang.String pathname)
|
|
| Method Summary | |
|---|---|
void |
addName(java.lang.String name)
|
long |
getCurrentMark()
|
CloseableIterator<java.lang.String> |
getNamesBetweenMarks(long start,
long end)
|
| Methods inherited from class java.io.File |
|---|
canExecute, canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getFreeSpace, getName, getParent, getParentFile, getPath, getTotalSpace, getUsableSpace, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toString, toURI, toURL |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceFileLocationDBLog(java.lang.String pathname)
throws java.io.IOException
pathname -
java.io.IOException| Method Detail |
|---|
public long getCurrentMark()
public CloseableIterator<java.lang.String> getNamesBetweenMarks(long start,
long end)
throws java.io.IOException
start - end -
java.io.IOException
public void addName(java.lang.String name)
throws java.io.IOException
name -
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||