}
@Override
public void onWaitExpire() {
expired = true;
LockStoreImpl lockStore = getLockStore();
lockStore.removeSignalKey(getWaitKey());
lockStore.removeAwait(key, conditionId, getCallerUuid(), threadId);
boolean locked = lockStore.lock(key, getCallerUuid(), threadId);
if (locked) {
ResponseHandler responseHandler = getResponseHandler();
// expired & acquired lock, send FALSE
responseHandler.sendResponse(false);
} else {
// expired but could not acquire lock, no response atm
lockStore.registerExpiredAwaitOp(this);
}
}