private void doNotify() {
        synchronized (monitorLock) {
            wasSignalled.set(true);
            monitorLock.notify();
        }
    }
Pauses online learning thread until {@link #doNotify()} is called.
ache/src/main/java/achecrawler/link/classifier/online/OnlineLearning.java