/** * Releases all resources retained by this factory. */ public synchronized void destroy() { for (final String id : _id2counter.keySet()) { removeCounter(id); } }
/** * Releases all resources retained by this factory. */ public synchronized void destroy() { for (final String id : _id2counter.keySet()) { removeCounter(id); } }
@Before public void reset() { for (String id : _test_ids) { _counter_factory.removeCounter(id); } } }