小伙21

Results 3 issues of 小伙21

线上使用fastcompass 统计cache命中率时出现很多统计错误,相应的测试代码如下: public void execute() { long startTime = System.currentTimeMillis(); boolean isSuccess = false; try { TimeUnit.MICROSECONDS.sleep(1000); //do business staff...... //isSuccess = true; } catch (Exception e) { //....... }...

Counter是一直不停累加,如果需要按period累加,如何实现呢?比始,对每分钟的数据进行sum,再在每分钟上sum的基础上,对每小时的数据sum。

In the pom.xml of the root directory ,there is a dependency : com.ctrip.framework where to download it? Thanks very much.