Class 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 Detail

      • id

        public final long id
        The id of the load activity.
      • hit

        @Nullable("when the load failed")
        public final @Nullable("when the load failed") Boolean 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 archiveSize
        The 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 failureId
        The failure id in case of a failed load.

        The failure id is mapped to a Exception_3_0 in ExceptionData_1_0.

    • Constructor Detail

      • BuildCacheLocalLoadFinished_1_0

        public BuildCacheLocalLoadFinished_1_0​(long id,
                                               @Nullable
                                               @Nullable Boolean hit,
                                               @Nullable
                                               @Nullable Long archiveSize,
                                               @Nullable
                                               @Nullable Long failureId)