public void messageReceived(){
  readMessages.incrementAndGet();
  updateBytesRead();
}

public void messageReceived ( ) { readMessages . incrementAndGet ( ) ; updateBytesRead ( ) ; }
increases number of read messages by one . updates number of bytes read .
