// Signal to sender that we need a flush to get a consistent view
// of the remaining transactions.
delimitStream(out);
out.flush();
if (trace) log.trace("Waiting for a FLUSH");
flushTracker.waitForFlushStart(flushTimeout);
if (trace) log.trace("FLUSH received, proceeding with writing commit log");
// Write remaining transactions
txLog.writeCommitLog(cache.getMarshaller(), out);
delimitStream(out);