@Override public Configuration getConfiguration(RuleLoaderContext ruleLoaderContext) { return ConfigurationBuilder.begin() .addRule() .when(Query.fromType(FileModel.class)) .perform(new CacheFileModelPrettyPathRuleProvider.GetPrettyPathIterationOperator() .and(Commit.every(5000)) .and(IterationProgress.monitoring("Caching FileModel Path Information", 2000))); }
@Override public Configuration getConfiguration(RuleLoaderContext ruleLoaderContext) { return ConfigurationBuilder.begin() .addRule() .when(Query.fromType(FileModel.class)) .perform(new CacheFileModelPrettyPathRuleProvider.GetPrettyPathIterationOperator() .and(Commit.every(5000)) .and(IterationProgress.monitoring("Caching FileModel Path Information", 2000))); }