public StyleResolvingEvaluator getInstance() { final StyleResolvingEvaluator expression = (StyleResolvingEvaluator) super.getInstance(); expression.statisticsHit = new DoubleKeyedCounter<String, Long>(); expression.statisticsMiss = new DoubleKeyedCounter<String, Long>(); return expression; } }
public SimpleStyleResolver( final boolean designTime ) { this.designTime = designTime; usageCounter = new SingleKeyedCounter<String>(); extendedCounter = new DoubleKeyedCounter<String, Long>(); }
public StyleResolvingEvaluator() { statisticsHit = new DoubleKeyedCounter<String, Long>(); statisticsMiss = new DoubleKeyedCounter<String, Long>(); ExtendedConfiguration config = ClassicEngineBoot.getInstance().getExtendedConfig(); collectDetailedStatistics = config.getBoolProperty( DETAILED_STATISTICS_CONFIG ); }