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

Setter method for ThresholdingOutputStream

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: