FileDeleter
This class provides ability to track the reference counts of a set of index files and delete them when their counts decreased to 0.
This class is NOT thread-safe, the user should make sure the thread-safety themselves
Types
Functions
Link copied to clipboard
Decrease ref counts for all provided files, delete them if ref counts down to 0, even on exception. Throw first exception hit, if any
Link copied to clipboard
Link copied to clipboard
delete only files that are unref'ed
Link copied to clipboard
Link copied to clipboard
get ref count for a provided file, if the file is not yet recorded, this method will return 0
Link copied to clipboard
if the file is not yet recorded, this method will create a new RefCount object with count 0