[stats] Small fix to catch exception in parsing, and cleanups to comments
[stats] Small fix to catch exception in parsing, and cleanups to comments
enable jacoco code coverage in jenkins profile
remove krufty license in top src dir, and src dir which is out of place also
create fast path for StringDatum::asBoolean

Today, when a StringDatum is cast to a boolean it will always try to cast the value to a number with Byte.valueOf(). If the input is "true" or "false", an exception will be thrown and caught. This is inefficient if most of the input is "" or "true" or "false" (~790 times slower than a string compare in my test).

Since puma uses StringDatum.asBoolean() frequently in expression evaluation, this is to make a fast path for string values "", "true", and "false".
clean up commit
ad101971f171c43cc8a28fbe44479cbe06be8db7
by making handling of zero values consistent

unit test results:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] java root ......................................... SUCCESS [0.579s]
[INFO] jcommon util ...................................... SUCCESS [7.904s]
[INFO] jcommon collections foundation package ............ SUCCESS [1.730s]
[INFO] jcommon data package .............................. SUCCESS [7.420s]
[INFO] jcommon logging ................................... SUCCESS [3.571s]
[INFO] jcommon collections package ....................... SUCCESS [14.681s]
[INFO] jcommon config .................................... SUCCESS [8.287s]
[INFO] jcommon lifecycle ................................. SUCCESS [3.571s]
[INFO] shared testing utilities .......................... SUCCESS [0.559s]
[INFO] jcommon concurrency ............................... SUCCESS [13.408s]
[INFO] jcommon stats package ............................. SUCCESS [1:03.886s]
[INFO] zookeeper libraries ............................... SUCCESS [1.601s]
[INFO] jcommon memory package ............................ SUCCESS [3.577s]
[INFO] jcommon-all ....................................... SUCCESS [0.054s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:28.108s (Wall Clock)
[INFO] Finished at: Sat Mar 16 23:53:26 PDT 2013
[INFO] Final Memory: 47M/314M
[INFO] ------------------------------------------------------------------------
Revert "remove krufty license in top src dir"

This reverts commit df93a47060e6a86df80aae5b91d604a71d10c6ff.
(As this particular LICENSE-HEADER.txt is the one the license plugin uses.)
[maven-release-plugin] prepare release jcommon-parent-0.1.6
[maven-release-plugin] prepare for next development iteration
New methods:
setCounter(String, long)
setCounter(StatType, long)

Currently, for plain counters, the Stats class allows just incrementing the counters. PTail and Puma have use-cases that need the above methods.
1. add reset method to stats's counters
2. deprecate setCounter()
3. add StatsUtil.setCounterValue() utility method