|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface FileArchive.StaleFileManager
API which FileArchive methods should use for dealing with the StaleFileManager implementation.
| Nested Class Summary | |
|---|---|
static class |
FileArchive.StaleFileManager.Util
|
| Method Summary | |
|---|---|
void |
flush()
|
boolean |
isEntryMarkerFile(File f)
Returns whether the specified file is for the hidden timestamp file which FileArchive uses internally. |
boolean |
isEntryValid(File f,
boolean isLogging)
Returns whether the specified file is valid - that is, is dated after the archive was created. |
boolean |
isEntryValid(File f,
boolean isLogging,
Logger logger)
|
void |
recordDeletedEntry(File f)
|
void |
recordValidEntry(File f)
|
| Method Detail |
|---|
boolean isEntryValid(File f,
boolean isLogging)
f - the file to checkisLogging - whether to log a warning about the check of the entry
boolean isEntryValid(File f,
boolean isLogging,
Logger logger)
boolean isEntryMarkerFile(File f)
f - the file to check
void recordValidEntry(File f)
void recordDeletedEntry(File f)
void flush()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||