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

Setter method for ThresholdingOutputStream

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment