22232425262728
public class PerformanceMonitorTest { @Test public void test_noexception(){ new PerformanceMonitor().createRessourcenInfo(); }
26272829303132
super(monitoringDataCollector); this.performanceMonitor = performanceMonitor; } public SystemRessourceDataProvider(MonitoringDataCollector monitoringDataCollector) { this(monitoringDataCollector,new PerformanceMonitor()); }
34353637383940
private final MonitoringDataAccessQueue monitoringQueue; private final PerformanceMonitor performanceMonitor; public MonitoringDataCollector(final MonitoringDataAccessQueue monitoringQueue){ this(monitoringQueue, new PerformanceMonitor()); }