"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "moskito-core/src/main/java/net/anotheria/moskito/core/decorators/predefined/RuntimeStatsDecorator.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.

RuntimeStatsDecorator.java  (moskito-moskito-2.9.3):RuntimeStatsDecorator.java  (moskito-moskito-2.10.0)
skipping to change at line 77 skipping to change at line 77
List<StatValueAO> ret = new ArrayList<StatValueAO>(CAPTIONS.lengt h); List<StatValueAO> ret = new ArrayList<StatValueAO>(CAPTIONS.lengt h);
long starttime = stats.getStartTime(interval); long starttime = stats.getStartTime(interval);
long uptime = stats.getUptime(interval); long uptime = stats.getUptime(interval);
int i = 0; int i = 0;
ret.add(new StringValueAO(CAPTIONS[i++], stats.getProcessName(int erval))); ret.add(new StringValueAO(CAPTIONS[i++], stats.getProcessName(int erval)));
ret.add(new LongValueAO(CAPTIONS[i++], starttime)); ret.add(new LongValueAO(CAPTIONS[i++], starttime));
ret.add(new LongValueAO(CAPTIONS[i++], uptime)); ret.add(new LongValueAO(CAPTIONS[i++], uptime));
ret.add(new StringValueAO(CAPTIONS[i++], NumberUtils.makeISO8601T imestampString(starttime))); ret.add(new StringValueAO(CAPTIONS[i++], NumberUtils.makeISO8601T imestampString(starttime)));
ret.add(new LongValueAO(CAPTIONS[i++], uptime/1000/60/60)); ret.add(new LongValueAO(CAPTIONS[i++], uptime/1000/60/60));
ret.add(new StringValueAO(CAPTIONS[i++], String.valueOf((float) ( uptime * 100 / 1000 / 60 / 60 / 24) / 100))); ret.add(new StringValueAO(CAPTIONS[i++], String.valueOf(((float)u ptime * 100 / 1000 / 60 / 60 / 24) / 100)));
return ret; return ret;
} }
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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