}
if (writeLocked) {
try {
removeInternal(key, true, notifyListeners, false, false);
} finally {
syncForKey.unlock(LockType.WRITE);
}
} else {
if (LOG.isDebugEnabled()) {
LOG.debug(configuration.getName() + " cache: element " + key + " expired, but couldn't be inline evicted");
}