Package com.sun.enterprise.deploy.shared
Interface FileArchive.StaleFileManager
-
- Enclosing class:
- FileArchive
public static interface FileArchive.StaleFileManager
API which FileArchive methods should use for dealing with the StaleFileManager implementation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
FileArchive.StaleFileManager.Util
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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
-
isEntryValid
boolean isEntryValid(File f, boolean isLogging)
Returns whether the specified file is valid - that is, is dated after the archive was created.- Parameters:
f
- the file to checkisLogging
- whether to log a warning about the check of the entry- Returns:
- true if the file is valid; false otherwise
-
isEntryMarkerFile
boolean isEntryMarkerFile(File f)
Returns whether the specified file is for the hidden timestamp file which FileArchive uses internally.- Parameters:
f
- the file to check- Returns:
- true if the File is the hidden timestamp file; false otherwise
-
recordValidEntry
void recordValidEntry(File f)
-
recordDeletedEntry
void recordDeletedEntry(File f)
-
flush
void flush()
-
-