Package 

Interface DatabaseFileContext

    • Method Summary

      Modifier and Type Method Description
      abstract Iterable<File> getRecords() Get all valid physical records stored in database directory
      abstract Iterable<File> getAll() Get all physical files stored in database directory
      abstract boolean validFileConsistency() Valid all database files consistency
      abstract void removeOrphaned(Iterable<BacktraceDatabaseRecord> existingRecords) Remove orphaned files existing in database directory
      abstract void clear() Remove all files from database directory
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getAll

         abstract Iterable<File> getAll()

        Get all physical files stored in database directory

      • removeOrphaned

         abstract void removeOrphaned(Iterable<BacktraceDatabaseRecord> existingRecords)

        Remove orphaned files existing in database directory

        Parameters:
        existingRecords - existing entries in BacktraceDatabaseContext
      • clear

         abstract void clear()

        Remove all files from database directory