Class MeteredOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
com.northconcepts.datapipeline.meter.MeteredOutputStream
- All Implemented Interfaces:
Metered,Closeable,Flushable,AutoCloseable
- Direct Known Subclasses:
ThrottledOutputStream
An output stream that counts the bytes written in a
Meter.-
Field Summary
Fields inherited from class java.io.FilterOutputStream
out -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.FilterOutputStream
flush, writeMethods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
MeteredOutputStream
-
-
Method Details
-
getMeter
-
write
- Overrides:
writein classFilterOutputStream- Throws:
IOException
-
write
- Overrides:
writein classFilterOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterOutputStream- Throws:
IOException
-