DescriptiveStatistics function ( ) { return getNormalizedStatistics ( "srini_string" , Lists . transform ( this . subLimiterPermitCounts , new Function < AtomicLong , Double > ( ) { @ Override public Double apply ( AtomicLong arg0 ) { return ( double ) arg0 . getAndSet ( 0 ) ; } } ) ) ; }
get a descriptivestatistics object with the rate of permit granting for all limiter s decorated with this ratecomputinglimitercontainer . concode_field_sep AtomicLong localPermitCount concode_elem_sep List<AtomicLong> subLimiterPermitCounts concode_elem_sep Queue<Long> unusedPermitsCounts concode_elem_sep Map<String,Long> lastReportTimes concode_elem_sep Limiter underlying concode_field_sep Object getDecoratedObject concode_elem_sep void stop concode_elem_sep DescriptiveStatistics getUnusedPermitsSinceLastReport concode_elem_sep void start concode_elem_sep DescriptiveStatistics getNormalizedStatistics concode_elem_sep Closeable acquirePermits concode_elem_sep Limiter decorateLimiter