public class CacheStatisticsHelper extends Object
CacheStatistics
interface.Constructor and Description |
---|
CacheStatisticsHelper() |
Modifier and Type | Method and Description |
---|---|
static int |
asPercentage(long numerator,
long denominator) |
static int |
calculateCapacityPercentage(long currentSize,
long maxSize) |
static String |
formatSizeInMegabytes(FormatSettingsManager formatSettingsManager,
long localHeapSizeInBytes) |
static String |
getDisplayableName(String cacheName,
I18NBean i18nBean) |
public static String formatSizeInMegabytes(FormatSettingsManager formatSettingsManager, long localHeapSizeInBytes)
public static int asPercentage(long numerator, long denominator)
public static int calculateCapacityPercentage(long currentSize, long maxSize)
Copyright © 2003–2017 Atlassian. All rights reserved.