question: public void sendReplEvent ( ReplEvent event , boolean forceSend ) throws IOException { if ( buffering ) { buffer . add ( event ) ; if ( forceSend || buffer . size ( ) >= bufferSize ) { writeMessage ( new ProtocolMessage ( buffer ) ) ; buffer . clear ( ) ; } } else { writeMessage ( new ProtocolReplEvent ( event ) ) ; } }
target:  Send a replication event to the client.