public void expire () { synchronized (lock) { if (!expired) { fail(reqUID); expired = true; }
public synchronized void expire () { if (!expired) { fail(reqUID); expired = true;
    public void expire () {      synchronized (lock) {        if (!expired) {          fail(reqUID);          expired = true;        }      }    }