public void initialize ( Server server ) { serverFailureCounts = new MeasuredRate ( failureCountSlidingWindowInterval ) ; requestCountInWindow = new MeasuredRate ( 300000L ) ; if ( publisher == null ) { dataDist = new DataDistribution ( getBufferSize ( ) , PERCENTS ) ; publisher = new DataPublisher ( dataDist , getPublishIntervalMillis ( ) ) ; publisher . start ( ) ; } this . server = server ; }
Initializes the object starting data collection and reporting .