[Java]: Due to flow control the log buffer producer never needs to check if cleaning is required.