Search in sources :

Example 1 with AlarmSourcesListenerCached

use of com.cosylab.acs.laser.AlarmSourcesListenerCached in project ACS by ACS-Community.

the class StatisticsTest method setUp.

/**
	 * @see alma.acs.component.client.ComponentClientTestCase#setUp()
	 */
@Override
protected void setUp() throws Exception {
    super.setUp();
    // Instantiate the object to test
    AlarmSourcesListenerCached queue = new AlarmSourcesListenerCached(getContainerServices(), getContainerServices().getLogger());
    assertNotNull(queue);
    stats = new StatsCalculator(this.getContainerServices().getLogger(), queue);
    assertNotNull(stats);
    // Enable the generation of statistics
    stats.start();
}
Also used : AlarmSourcesListenerCached(com.cosylab.acs.laser.AlarmSourcesListenerCached) StatsCalculator(alma.alarmsystem.statistics.StatsCalculator)

Aggregations

StatsCalculator (alma.alarmsystem.statistics.StatsCalculator)1 AlarmSourcesListenerCached (com.cosylab.acs.laser.AlarmSourcesListenerCached)1