Class MvnBuildCacheRemoteLoadFinished_1_0

  • All Implemented Interfaces:
    com.gradle.scan.eventmodel.EventData

    @MavenVersion(since="3.3.1")
    @MavenExtensionVersion(since="1.0")
    public class MvnBuildCacheRemoteLoadFinished_1_0
    extends Object
    implements com.gradle.scan.eventmodel.EventData
    An EventData that is published when a remote build cache load artifact operation has finished.

    Zero or more MvnBuildCacheRemoteLoadFinished_1_0 events may be published.

    • Field Detail

      • 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 in case of a failed load.

        The failure ID is mapped to a MvnException_1_0 in MvnExceptionData_1_0.

    • Constructor Detail

      • MvnBuildCacheRemoteLoadFinished_1_0

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