@Override protected Statistics newOsStatistics(StatisticsType type, long uniqueId, long numericId, String textId, int osStatFlags) { return new DummyStatisticsImpl(type, textId, numericId); } }
@Override protected Statistics newAtomicStatistics(StatisticsType type, long uniqueId, long numericId, String textId) { return new DummyStatisticsImpl(type, textId, numericId); }
private FunctionServiceStats() { this._stats = new DummyStatisticsImpl(this._type, null, 0); }
@Override public Statistics createAtomicStatistics(StatisticsType type, String textId, long numericId) { if (this.statsDisabled) { return new DummyStatisticsImpl(type, textId, numericId); } return super.createAtomicStatistics(type, textId, numericId); } }
@Override public Statistics createOsStatistics(StatisticsType type, String textId, long numericId, int osStatFlags) { if (this.statsDisabled) { return new DummyStatisticsImpl(type, textId, numericId); } return super.createOsStatistics(type, textId, numericId, osStatFlags); }
private FunctionStats() { this._stats = new DummyStatisticsImpl(this._type, null, 0); this.aggregateStats = FunctionServiceStats.createDummy(); }