org.openspaces.admin.support
Class StatisticsUtils
java.lang.Object
org.openspaces.admin.support.StatisticsUtils
public class StatisticsUtils
- extends Object
- Author:
- kimchy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatisticsUtils
public StatisticsUtils()
convertToKilobytes
public static double convertToKilobytes(long bytes)
convertToMB
public static double convertToMB(long bytes)
convertToGB
public static double convertToGB(long bytes)
computePerc
public static double computePerc(int value,
int max)
computePerc
public static double computePerc(long value,
long max)
computePercByTime
public static double computePercByTime(long currentTime,
long previousTime,
long currentTimestamp,
long previousTimestamp)
computePerSecond
public static double computePerSecond(long currentCount,
long previousCount,
long currentTimestamp,
long previousTimestamp)
formatPerc
public static String formatPerc(double perc)
Copyright © GigaSpaces.