Package com.fastasyncworldedit.core.util
Class MemUtil
java.lang.Object
com.fastasyncworldedit.core.util.MemUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
static int
static void
static long
static long
static boolean
static boolean
static boolean
static void
static void
static boolean
-
Constructor Details
-
MemUtil
public MemUtil()
-
-
Method Details
-
isMemoryFree
public static boolean isMemoryFree() -
isMemoryLimited
public static boolean isMemoryLimited() -
isMemoryLimitedSlow
public static boolean isMemoryLimitedSlow() -
shouldBeginSlow
public static boolean shouldBeginSlow() -
getUsedBytes
public static long getUsedBytes() -
getFreeBytes
public static long getFreeBytes() -
calculateMemory
public static int calculateMemory() -
checkAndSetApproachingLimit
public static void checkAndSetApproachingLimit() -
addMemoryLimitedTask
-
addMemoryPlentifulTask
-
memoryLimitedTask
public static void memoryLimitedTask() -
memoryPlentifulTask
public static void memoryPlentifulTask()
-