public ContextAwareHistogram contextAwareHistogram(String name, long windowSize, TimeUnit unit) {
    ContextAwareMetricFactoryArgs.SlidingTimeWindowArgs args = new ContextAwareMetricFactoryArgs.SlidingTimeWindowArgs(
        this.innerMetricContext.getMetricContext().get(), name, windowSize, unit);
    return this.innerMetricContext.getOrCreate(ContextAwareMetricFactory.DEFAULT_CONTEXT_AWARE_HISTOGRAM_FACTORY, args);
  }
public ContextAwareHistogram contextAwareHistogram ( String name , long windowSize , TimeUnit unit ) { ContextAwareMetricFactoryArgs . SlidingTimeWindowArgs args = new ContextAwareMetricFactoryArgs . SlidingTimeWindowArgs ( this . innerMetricContext . getMetricContext ( ) . get ( ) , name , windowSize , unit ) ; return this . innerMetricContext . getOrCreate ( ContextAwareMetricFactory . DEFAULT_CONTEXT_AWARE_HISTOGRAM_FACTORY , args ) ; }
Get a {@link ContextAwareHistogram} with a given name and a customized {@link com.codahale.metrics.SlidingTimeWindowReservoir}

@param name name of the {@link ContextAwareHistogram}
@param windowSize normally the duration of the time window
@param unit the unit of time
@return the {@link ContextAwareHistogram} with the given name