long readsPerSec = (lastReads / interval) * 1000;
long writesPerSec = (lastWrites / interval) * 1000;
metrics.setLastReads(readsPerSec);
metrics.setLastWrites(writesPerSec);
TrafficCounter traffic = trafficCounter();
long readThroughput = traffic.lastReadThroughput();
long writeThroughput = traffic.lastWriteThroughput();
metrics.setReadThroughput(readThroughput);
metrics.setWriteThroughput(writeThroughput);
if(logger.isInfoEnabled()) {
if(lastReads > 0 || lastWrites > 0) {