Package org.wso2.carbon.usage.agent.util
Class MonitoredReader
java.lang.Object
java.io.Reader
org.wso2.carbon.usage.agent.util.MonitoredReader
- All Implemented Interfaces:
Closeable,AutoCloseable,Readable
this class is used to wrap the Reader object
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.Reader
mark, markSupported, nullReader, read, read, read, ready, reset, skip, transferTo
-
Constructor Details
-
MonitoredReader
-
-
Method Details
-
read
- Specified by:
readin classReader- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classReader- Throws:
IOException
-
getTotalRead
public long getTotalRead()
-