Class EventOutputStreams.OutputFile

  • Enclosing class:
    EventOutputStreams

    public abstract static class EventOutputStreams.OutputFile
    extends Object
    Supplies the current output file destination. We use indirection so that when used from a FolderComputation the containing Folder can be moved without keeping the events log open.
    • Constructor Detail

      • OutputFile

        public OutputFile()
    • Method Detail

      • get

        @NonNull
        public abstract File get()
        Returns the file that output is being sent to.
        Returns:
        the file that output is being sent to.
      • canWriteNow

        public boolean canWriteNow()
        Returns true if the output file can be written to now, false if the write should be delayed.
        Returns:
        true if the output file can be written to now, false if the write should be delayed