Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-425

Setter method for ThresholdingOutputStream

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.5
    • None
    • None

    Description

      We have a class that uses ThresholdingOutputStream as its super class. Our class writes to files on the file system and switches to a new file when a size threshold has been reached. If our system restarts we would like to be able to continue writing to the last file, but for this to work we have to be able to set the private var written in ThresholdingOutputStream. This patch adds a protected setter method so written can be set to match the file size.

      Attachments

        Activity

          People

            krosenvold Kristian Rosenvold
            cswank Craig Swank
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: