Package com.gradle.scan.eventmodel.maven
Class MvnBuildCacheLocalLoadFinished_1_0
java.lang.Object
com.gradle.scan.eventmodel.maven.MvnBuildCacheLocalLoadFinished_1_0
- All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData
@MavenVersion(since="3.3.1")
@MavenExtensionVersion(since="1.1")
public class MvnBuildCacheLocalLoadFinished_1_0
extends Object
implements com.gradle.scan.eventmodel.EventData
An
EventData
that is published when a local build cache load artifact operation has finished.
Zero or more MvnBuildCacheLocalLoadFinished_1_0
events may be published.
-
Field Summary
Modifier and TypeFieldDescriptionfinal @Nullable("when the load was a miss or failed") Long
The number of bytes of the loaded cache artifact, if it was a hit.final @Nullable("when the load was successful") Long
The failure in case of a failed load.final @Nullable("when the load failed") Boolean
Whether the outcome of the load operation was a hit or miss.final long
The ID of the load activity, linking toMvnBuildCacheLocalLoadStarted_1_0.id
. -
Constructor Summary
ConstructorDescriptionMvnBuildCacheLocalLoadFinished_1_0
(long id, @Nullable Boolean hit, @Nullable Long archiveSize, @Nullable Long failureId) -
Method Summary
-
Field Details
-
id
public final long idThe ID of the load activity, linking toMvnBuildCacheLocalLoadStarted_1_0.id
. -
hit
Whether the outcome of the load operation was a hit or miss. -
archiveSize
@Nullable("when the load was a miss or failed") public final @Nullable("when the load was a miss or failed") Long archiveSizeThe number of bytes of the loaded cache artifact, if it was a hit. -
failureId
@Nullable("when the load was successful") public final @Nullable("when the load was successful") Long failureIdThe failure in case of a failed load.The failure ID is mapped to a
MvnException_1_0
inMvnExceptionData_1_0
.
-
-
Constructor Details
-
MvnBuildCacheLocalLoadFinished_1_0
-
-
Method Details