Class CMemoryUsage


  • public class CMemoryUsage
    extends MemoryUsage
    Memory Usage Info
    Version:
    $Id: CMemoryUsage.java,v 1.2 2006/07/30 00:54:35 jjanke Exp $
    Author:
    Jorg Janke
    • Constructor Detail

      • CMemoryUsage

        public CMemoryUsage​(long init,
                            long used,
                            long committed,
                            long max)
        Detail Constructor
        Parameters:
        init - init
        used - used
        committed - committed
        max - max
      • CMemoryUsage

        public CMemoryUsage​(MemoryUsage usage)
        Parent Constructor
        Parameters:
        usage - usage
    • Method Detail

      • getFree

        public long getFree()
        Get Free (Committed-Used) Memory
        Returns:
        memory
      • getFreePercent

        public int getFreePercent()
        Get Free (Committed-Used) Memory Percent
        Returns:
        memory
      • getCommittedPercent

        public int getCommittedPercent()
        Get Committed (Max-Committed) Memory Percent
        Returns:
        memory