Class BuildCacheLocalLoadFinished_1_0
java.lang.Object
com.gradle.scan.eventmodel.gradle.BuildCacheLocalLoadFinished_1_0
- All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData
@GradleVersion(since="8.6")
@PluginVersion(since="3.17")
public class BuildCacheLocalLoadFinished_1_0
extends Object
implements com.gradle.scan.eventmodel.EventData
An
EventData
that is published when a build cache local load artifact operation has finished.
Zero or more BuildCacheLocalLoadFinished_1_0
events may be published.
-
Field Summary
FieldsModifier 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 id 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. -
Constructor Summary
ConstructorsConstructorDescriptionBuildCacheLocalLoadFinished_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. -
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 id in case of a failed load.The failure id is mapped to a
Exception_3_0
inExceptionData_1_0
.
-
-
Constructor Details
-
BuildCacheLocalLoadFinished_1_0
-
-
Method Details