[ 
https://issues.apache.org/jira/browse/IO-51?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17800498#comment-17800498
 ] 

Elliotte Rusty Harold commented on IO-51:
-----------------------------------------

Apache HBase has an implementation of this: 
https://hbase.apache.org/devapidocs/org/apache/hadoop/hbase/io/hadoopbackport/ThrottledInputStream.html



> Throttled input and output stream classes
> -----------------------------------------
>
>                 Key: IO-51
>                 URL: https://issues.apache.org/jira/browse/IO-51
>             Project: Commons IO
>          Issue Type: New Feature
>          Components: Streams/Writers
>    Affects Versions: 1.0
>         Environment: Operating System: other
> Platform: All
>            Reporter: Gareth Davis
>            Priority: Minor
>             Fix For: 3.x
>
>         Attachments: ASF.LICENSE.NOT.GRANTED--throttle-example.jar, 
> ASF.LICENSE.NOT.GRANTED--throttle-source.jar, 
> ASF.LICENSE.NOT.GRANTED--throttle-source.jar
>
>
> Additional classes for the commons-io package.
> Three new classes, the new test classes and one example class.
> io.Limiter - Core class shared between the input and output streams that 
> provides the central functions 
> for the throttle io streams
> io.input.ThrottledInputStream - Input Stream implementation
> io.output.ThrottledOutputStream - Output Stream implementation 
> Gareth



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to