Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package io.tehuti.metrics.stats;
 
Utility class to create a Rate based on a SampledCount.
 
 public class OccurrenceRate extends Rate {
     public OccurrenceRate() {
        this(.);
    }
    public OccurrenceRate(TimeUnit unit) {
        super(unitnew SampledCount());
    }
New to GrepCode? Check out our FAQ X