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, Readable
public class MonitoredReader
- extends Reader
this class is used to wrap the Reader object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MonitoredReader
public MonitoredReader(Reader reader)
read
public int read(char[] cbuf,
int off,
int len)
throws IOException
- Specified by:
read in class Reader
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface Closeable- Specified by:
close in class Reader
- Throws:
IOException
getTotalRead
public long getTotalRead()
Copyright © 2015 WSO2. All rights reserved.