Interface MemoryInfoProvider

  • All Known Implementing Classes:
    MemoryInfoProviderFromRuntime

    public interface MemoryInfoProvider
    Provider information about available system memory
    • Method Detail

      • getMaxMemory

        long getMaxMemory()
        Returns:
        Max memory the JVM can allocate
      • getTotalMemory

        long getTotalMemory()
        Returns:
        Total allocated JVM memory so far
      • getFreeMemory

        long getFreeMemory()
        Returns:
        Free JVM memory