public void interrupt() {
        synchronized (monitor) {
            monitor.notifyAll();
        }
    }
Notifies {@link #lockWhile} to check the interrupt condition
vespajlib/src/main/java/com/yahoo/concurrent/classlock/ClassLocking.java