Package com.gradle.scan.eventmodel.maven
Class MvnBasicMemoryStats_1_0
- java.lang.Object
-
- com.gradle.scan.eventmodel.maven.MvnBasicMemoryStats_1_0
-
- All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData
@MavenVersion(since="3.3.1") @MavenExtensionVersion(since="1.0") public class MvnBasicMemoryStats_1_0 extends Object implements com.gradle.scan.eventmodel.EventData
AnEventData
containing memory details of the JVM that executed the build.An event stream will contain a single
MvnBasicMemoryStats_1_0
.
-
-
Field Summary
Fields Modifier and Type Field Description long
gcTime
Represents the cumulative CPU time spent in milliseconds performing JVM Garbage Collection while running the build.long
max
The maximum amount of memory that the JVM will attempt to use.List<? extends MvnMemoryPoolSnapshot_1_0>
peakSnapshots
The statistics for every memory pool used by the Maven JVM while running the build.
-
Constructor Summary
Constructors Constructor Description MvnBasicMemoryStats_1_0(long max, List<? extends MvnMemoryPoolSnapshot_1_0> peakSnapshots, long gcTime)
-
-
-
Field Detail
-
max
public final long max
The maximum amount of memory that the JVM will attempt to use.- See Also:
Runtime.maxMemory()
-
peakSnapshots
public final List<? extends MvnMemoryPoolSnapshot_1_0> peakSnapshots
The statistics for every memory pool used by the Maven JVM while running the build.
-
gcTime
public final long gcTime
Represents the cumulative CPU time spent in milliseconds performing JVM Garbage Collection while running the build.
-
-
Constructor Detail
-
MvnBasicMemoryStats_1_0
public MvnBasicMemoryStats_1_0(long max, List<? extends MvnMemoryPoolSnapshot_1_0> peakSnapshots, long gcTime)
-
-