Made more methods in TrafficCounter package-private

This commit is contained in:
Trustin Lee 2009-04-08 07:32:57 +00:00
parent 079252700b
commit df1fc4556c

View File

@ -458,7 +458,7 @@ public class TrafficCounter {
* the size in bytes to read
* @throws InterruptedException
*/
protected void bytesRecvFlowControl(ChannelHandlerContext ctx, long recv)
void bytesRecvFlowControl(ChannelHandlerContext ctx, long recv)
throws InterruptedException {
currentReadingBytes.addAndGet(recv);
cumulativeReadBytes.addAndGet(recv);
@ -514,7 +514,7 @@ public class TrafficCounter {
* the size in bytes to write
* @throws InterruptedException
*/
protected void bytesWriteFlowControl(long write) throws InterruptedException {
void bytesWriteFlowControl(long write) throws InterruptedException {
currentWritingBytes.addAndGet(write);
cumulativeWrittenBytes.addAndGet(write);
if (limitWrite == 0) {