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

    Fields
    Modifier and Type
    Field
    Description
    final @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

    Constructors
    Constructor
    Description
    BuildCacheLocalLoadFinished_1_0(long id, @Nullable Boolean hit, @Nullable Long archiveSize, @Nullable Long failureId)
     
  • 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

    • 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 Details

    • BuildCacheLocalLoadFinished_1_0

      public BuildCacheLocalLoadFinished_1_0(long id, @Nullable @Nullable Boolean hit, @Nullable @Nullable Long archiveSize, @Nullable @Nullable Long failureId)
  • Method Details