synchronized (root) {
synchronized (lockObject) {
  private void update() {    synchronized (root) {      nextUpdate = System.currentTimeMillis() + UPDATE_DELAY;      updateNeeded = true;      root.notify();    }  }