public class PictureTilingCacheGCManager extends Object
Modifier and Type | Field and Description |
---|---|
static long |
MAX_DISK_SPACE_USAGE_KB |
static String |
MAX_DISK_SPACE_USAGE_KEY |
Constructor and Description |
---|
PictureTilingCacheGCManager() |
Modifier and Type | Method and Description |
---|---|
static void |
doGC(long deltaInKB) |
static boolean |
gcIfNeeded() |
static long |
getCacheSizeInBytes() |
static long |
getCacheSizeInKBs() |
static int |
getGCCalls() |
static int |
getGCRuns() |
protected static long |
getMaxDiskSpaceUsageKB() |
public static final String MAX_DISK_SPACE_USAGE_KEY
public static final long MAX_DISK_SPACE_USAGE_KB
public PictureTilingCacheGCManager()
protected static long getMaxDiskSpaceUsageKB()
public static int getGCRuns()
public static int getGCCalls()
public static long getCacheSizeInKBs()
public static long getCacheSizeInBytes()
public static boolean gcIfNeeded()
public static void doGC(long deltaInKB)
Copyright © 2017 Nuxeo. All rights reserved.