@Override public void resetConsumedCount(){ subscriptionStatistics.getConsumedCount().reset(); }
@Override public void stop() throws Exception { started = false; destinationsLock.readLock().lock(); try{ for (Iterator<Destination> i = destinations.values().iterator(); i.hasNext();) { Destination dest = i.next(); dest.stop(); } } finally { destinationsLock.readLock().unlock(); } destinationsLock.writeLock().lock(); try { destinations.clear(); regionStatistics.getAdvisoryDestinations().reset(); regionStatistics.getDestinations().reset(); regionStatistics.getAllDestinations().reset(); } finally { destinationsLock.writeLock().unlock(); } }
@Override public void reset() { if (this.isDoReset()) { super.reset(); messageCount.reset(); messageSize.reset(); } }
public void reset() { if (this.isDoReset()) { super.reset(); messageCount.reset(); messageSize.reset(); } }
public void reset() { if (this.isDoReset()) { super.reset(); messageCount.reset(); messageSize.reset(); } }
@Override public void reset() { if (this.isDoReset()) { super.reset(); messageCount.reset(); messageSize.reset(); } }