mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
add readBytes Count
This commit is contained in:
@@ -58,6 +58,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
|
||||
private int closeCount = 0;
|
||||
|
||||
private long readStringLength = 0;
|
||||
private long readBytesLength = 0;
|
||||
|
||||
public ResultSetProxyImpl(StatementProxy statement, ResultSet resultSet, long id, String sql){
|
||||
super(resultSet, id);
|
||||
@@ -1089,5 +1090,15 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
|
||||
public long getReadStringLength() {
|
||||
return readStringLength;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addReadBytesLength(int length) {
|
||||
this.readBytesLength += length;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getReadBytesLength() {
|
||||
return readBytesLength;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user