Interface TestableJournal

    • Method Detail

      • getDataFilesCount

        int getDataFilesCount()
      • getFreeFilesCount

        int getFreeFilesCount()
      • getOpenedFilesCount

        int getOpenedFilesCount()
      • getIDMapSize

        int getIDMapSize()
      • getMinFiles

        int getMinFiles()
      • getFilePrefix

        String getFilePrefix()
      • getFileExtension

        String getFileExtension()
      • getMaxAIO

        int getMaxAIO()
      • setAutoReclaim

        void setAutoReclaim​(boolean autoReclaim)
      • isAutoReclaim

        boolean isAutoReclaim()
      • testCompact

        void testCompact()
      • checkReclaimStatus

        boolean checkReclaimStatus()
                            throws Exception
        This method is called automatically when a new file is opened.

        It will among other things, remove stale files and make them available for reuse.

        This method locks the journal.

        Returns:
        true if it needs to re-check due to cleanup or other factors
        Throws:
        Exception