flushJobs = jobs; notifyAll();
if (!jobs.isEmpty()) { flushJobs = jobs; notifyAll(); }
    private synchronized void putFlushJobs(List jobs) throws SQLException {        while (flushJobs != null) {            try {                wait();            } catch (InterruptedException e) {            }        }        flushJobs = jobs;        notifyAll();        if (problem != null) {            throw problem;        }    }