code: public void dumpItems() {
  		LinkedList<CBuffRecord> copy = new LinkedList<CBuffRecord>();
  		synchronized(this) {
  			copy.addAll(buffer);
  			buffer.clear();
  			currentSize = 0L;
  			if (headerBytes == null) {
  				return;
  			}
  		}
  		
  		dumpWriter.setHeader(headerBytes);
  		for(CBuffRecord record: copy) {
  			dumpWriter.logRecord(record.timestamp, record.bytes);
  		}
  	}
docs: Dumps records stored in buffer to disk using configured LogRepositoryWriter.