public BaseRobotRules getRobotRulesSetFromCache ( URL url ) { String cacheKey = getCacheKey ( url ) ; BaseRobotRules robotRules = CACHE . getIfPresent ( cacheKey ) ; if ( robotRules != null ) { return robotRules ; } return EMPTY_RULES ; }
Returns the robots rules from the cache or empty rules if not found