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