Class FlashJournalRM.WriterDaemon.FileFullTask

  • All Implemented Interfaces:
    Runnable
    Enclosing class:
    FlashJournalRM.WriterDaemon

    protected class FlashJournalRM.WriterDaemon.FileFullTask
    extends Object
    implements Runnable
    A task that gets queued to perform cleanup on a file (on the WriterDaemon thread) when the file is full (no more writes will occur to the file).
    • Constructor Detail

      • FileFullTask

        public FileFullTask​(FlashJournalRM.JournalFile jrnlfile)
        Construct a FileFullInfo "struct".
        Parameters:
        jrnlfile - the file that is full
    • Method Detail

      • run

        public void run()
        Execute the task, closing the file and moving on to the next one.
        Specified by:
        run in interface Runnable