Class MemUtil

java.lang.Object
com.fastasyncworldedit.core.util.MemUtil

public class MemUtil extends Object
  • Constructor Details

    • MemUtil

      public MemUtil()
  • Method Details

    • isMemoryFree

      public static boolean isMemoryFree()
    • isMemoryLimited

      public static boolean isMemoryLimited()
    • isMemoryLimitedSlow

      public static boolean isMemoryLimitedSlow()
    • getUsedBytes

      public static long getUsedBytes()
    • getFreeBytes

      public static long getFreeBytes()
    • calculateMemory

      public static int calculateMemory()
    • addMemoryLimitedTask

      public static void addMemoryLimitedTask(Runnable run)
    • addMemoryPlentifulTask

      public static void addMemoryPlentifulTask(Runnable run)
    • memoryLimitedTask

      public static void memoryLimitedTask()
    • memoryPlentifulTask

      public static void memoryPlentifulTask()