Class Runtime.GetHeapUsageResponse

  • Enclosing class:
    Runtime

    public static class Runtime.GetHeapUsageResponse
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      GetHeapUsageResponse​(java.lang.Number usedSize, java.lang.Number totalSize)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Number getTotalSize()
      Allocated heap size in bytes.
      java.lang.Number getUsedSize()
      Used heap size in bytes.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GetHeapUsageResponse

        public GetHeapUsageResponse​(java.lang.Number usedSize,
                                    java.lang.Number totalSize)
    • Method Detail

      • getUsedSize

        public java.lang.Number getUsedSize()
        Used heap size in bytes.
      • getTotalSize

        public java.lang.Number getTotalSize()
        Allocated heap size in bytes.