private boolean unlock(String resourceId) {
LockManager lockManager = cache.getAdvancedCache().getLockManager();
Object lockOwner = lockManager.getOwner(resourceId);
Collection<Object> keys = Collections.<Object>singletonList(resourceId);
lockManager.unlock(keys, lockOwner);
return true;
}
/**
* Checks if all cache entries are consistent