"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "moskito-core/src/main/java/net/anotheria/moskito/core/stats/impl/IntervalRegistry.java" between
moskito-moskito-2.9.3.tar.gz and moskito-moskito-2.10.0.tar.gz

About: MoSKito (Monitoring System Kit) is a framework for java application monitoring. Sources.

IntervalRegistry.java  (moskito-moskito-2.9.3):IntervalRegistry.java  (moskito-moskito-2.10.0)
skipping to change at line 183 skipping to change at line 183
} }
/** /**
* This method creates a new Interval with the given name and length. * This method creates a new Interval with the given name and length.
* *
* @param aName the name of the new Interval * @param aName the name of the new Interval
* @param aLength the length of the Interval in seconds * @param aLength the length of the Interval in seconds
* @return the new Interval * @return the new Interval
*/ */
private Interval createInterval(String aName, int aLength) { private Interval createInterval(String aName, int aLength) {
/*
if (aName.equals("1m")){
System.out.println("CREATE INTERVAL 1M CALLED ");
new RuntimeException().fillInStackTrace().printStackTrace
();
}
*/
IntervalImpl interval = new IntervalImpl(obtainNextUniqueId(), aN ame, aLength); IntervalImpl interval = new IntervalImpl(obtainNextUniqueId(), aN ame, aLength);
if (aLength!=-1) if (aLength!=-1)
updateTriggerService.addUpdateable(interval, aLength); updateTriggerService.addUpdateable(interval, aLength);
intervalsById.put(interval.getId(), interval); intervalsById.put(interval.getId(), interval);
intervalsByName.put(interval.getName(), interval); intervalsByName.put(interval.getName(), interval);
for (IntervalRegistryListener listener : registryListeners) { for (IntervalRegistryListener listener : registryListeners) {
listener.intervalCreated(interval); listener.intervalCreated(interval);
} }
 End of changes. 1 change blocks. 
7 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)