I've built a Lucene Directory implementation for jdbm, an embedded Java database. Part of the Directory API are two methods related to "file" modification dates: touchFile and fileModified (javadoc). My question is, what is the purpose of these methods? I've searched the entire Lucene core source tree, and found no usage of these methods at all.
FWIW, my interest is the fact that I'd like to not bother tracking mod dates, given that I'm using an embedded datastore, and such metadata isn't "free" as it is in a regular filesystem.