@Override
    public boolean isRecoverying(String resource) {
        ResourceLock thisLock = locksOfR.get(resource);

        if (thisLock == null || thisLock.getType() != LockType.RECOVERY)
            return false;
        return true;
    }