Class MvnMemoryPoolSnapshot_1_0

java.lang.Object
com.gradle.scan.eventmodel.maven.memory.MvnMemoryPoolSnapshot_1_0

@MavenExtensionVersion(since="1.0") public class MvnMemoryPoolSnapshot_1_0 extends Object
Details about a memory pool at a particular point in time.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final long
    The amount of memory in bytes that is committed for the Java virtual machine to use.
    final boolean
    Whether the memory pool is of type heap.
    final long
    The amount of memory in bytes that the Java virtual machine initially requests from the operating system for memory management.
    final long
    The maximum amount of memory in bytes that can be used for memory management.
    final String
    The name representing this memory pool.
    final long
    The amount of used memory in bytes.
  • Constructor Summary

    Constructors
    Constructor
    Description
    MvnMemoryPoolSnapshot_1_0(String name, boolean heap, long init, long used, long committed, long max)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • name

      public final String name
      The name representing this memory pool.
    • heap

      public final boolean heap
      Whether the memory pool is of type heap.
    • init

      public final long init
      The amount of memory in bytes that the Java virtual machine initially requests from the operating system for memory management.

      Returns -1 if the initial memory size is undefined.

    • used

      public final long used
      The amount of used memory in bytes.
    • committed

      public final long committed
      The amount of memory in bytes that is committed for the Java virtual machine to use.
    • max

      public final long max
      The maximum amount of memory in bytes that can be used for memory management.

      Returns -1 if the maximum memory size is undefined.

  • Constructor Details

    • MvnMemoryPoolSnapshot_1_0

      public MvnMemoryPoolSnapshot_1_0(String name, boolean heap, long init, long used, long committed, long max)
  • Method Details