commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Rosenvold (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (IO-425) Setter method for ThresholdingOutputStream
Date Tue, 23 Jun 2015 06:00:14 GMT

     [ https://issues.apache.org/jira/browse/IO-425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kristian Rosenvold closed IO-425.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.5
         Assignee: Kristian Rosenvold

> Setter method for ThresholdingOutputStream
> ------------------------------------------
>
>                 Key: IO-425
>                 URL: https://issues.apache.org/jira/browse/IO-425
>             Project: Commons IO
>          Issue Type: New Feature
>            Reporter: Craig Swank
>            Assignee: Kristian Rosenvold
>             Fix For: 2.5
>
>         Attachments: thresholdingbytecountsetter.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message