Package com.bluesoft.util.metrics.core

Examples of com.bluesoft.util.metrics.core.Timing.convertTo()


   */
  @Override
  public Timing getMean() {
    Timing t = delegate.getMean();
    if ( t.getUnit() != timeUnit ) {
      return t.convertTo( timeUnit );
    }
    return t;
  }

  /**
 
View Full Code Here


   */
  @Override
  public Timing getTotal() {
    Timing t = delegate.getTotal();
    if ( t.getUnit() != timeUnit ) {
      return t.convertTo( timeUnit );
    }
    return t;
  }

  /**
 
View Full Code Here

   */
  @Override
  public Timing getStandardDeviation() {
    Timing t = delegate.getStandardDeviation();
    if ( t.getUnit() != timeUnit ) {
      return t.convertTo( timeUnit );
    }
    return t;
  }

  /**
 
View Full Code Here

   */
  @Override
  public Timing getCentile( BigDecimal centile ) {
    Timing t = delegate.getCentile( centile );
    if ( t.getUnit() != timeUnit ) {
      return t.convertTo( timeUnit );
    }
    return t;
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.