The SingleFileStore always reads from the file. However if value and metadata are both not needed, there is no reason to go to the file. Instead we can just check the expiration on the file entry and return the keys immediately.
This along with
ISPN-8923 will provide a SUBSTANTIAL boost for keySet iteration methods when using SingleFileStore.