code: public static Set<Policy> policies(Config config, EvictionPolicy policy) {
      BasicSettings settings = new BasicSettings(config);
      return settings.admission().stream().map(admission ->
        new FrequentlyUsedPolicy(admission, policy, config)
      ).collect(toSet());
    }
docs: Returns all variations of this policy based on the configuration parameters.