Review Board 1.7.22


Add average events per second params to MBeans

Review Request #7112 - Created Sept. 14, 2012 and updated

Ted Malaska
trunk
FLUME-1411
Reviewers
Flume
flume-git
This is not a completely finished patch but an example of a possible solution. If you like the solution I'll finish the patch.

This solution supports two types of averages:
1. Averages since start
2. Rolling Averages (The rolling interval can be set through config properties)

I added two gets for these averages in sinkCounter.

I also added a junit that tests both of these averages and shows how quickly they deviate.
Please let me know what you think.

 
Posted (Oct. 13, 2012, 3:50 p.m.)
Still need a review