com.gc.iotools.stream.os
Class StatsOutputStream
java.lang.Object
java.io.OutputStream
com.gc.iotools.stream.os.inspection.StatsOutputStream
com.gc.iotools.stream.os.StatsOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
- Direct Known Subclasses:
- SizeRecorderOutputStream
Deprecated.
@Deprecated
public class StatsOutputStream
- extends StatsOutputStream
Gather some statistics on the OutputStream passed in the
constructor.
It can be used to read:
- The size of the data written to the underlying stream.
- The time spent writing the bytes.
- The bandwidth of the underlying stream.
Full statistics are available after the stream has been fully processed (by
other parts of the application), or after invoking the method
StatsOutputStream.close() while partial statistics are available on the fly.
Removal scheduled in 1.3 version. Please use
com.gc.iotools.stream.os.inspection.StatsOutputStream
- Since:
- 1.2.1
- Author:
- dvd.smnt
- See Also:
StatsOutputStream
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatsOutputStream
public StatsOutputStream(OutputStream destination)
- Deprecated.
Copyright © 2008-2009. All Rights Reserved.