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 -
Method Summary
Modifier and TypeMethodDescriptionvoidflush()booleanReturns whether the specified file is for the hidden timestamp file which FileArchive uses internally.booleanisEntryValid(File f, boolean isLogging) Returns whether the specified file is valid - that is, is dated after the archive was created.booleanisEntryValid(File f, boolean isLogging, Logger logger) voidvoid
-
Method Details
-
isEntryValid
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
-
isEntryValid
-
isEntryMarkerFile
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
-
recordDeletedEntry
-
flush
void flush()
-