protected void notifyAwaited(String lock_name, Owner owner) { for (LockNotification listener : lock_listeners) { try { listener.awaited(lock_name, owner); } catch (Throwable t) { log.error("failed notifying " + listener, t); } } }
protected void notifyLockDeleted(String lock_name) { for (LockNotification listener : lock_listeners) { try { listener.lockDeleted(lock_name); } catch (Throwable t) { log.error("failed notifying " + listener, t); } } }