Class BuildCacheRemoteLoadFinished_1_0
- java.lang.Object
-
- com.gradle.scan.eventmodel.gradle.BuildCacheRemoteLoadFinished_1_0
-
- All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData
- Direct Known Subclasses:
BuildCacheRemoteLoadFinished_1_1
@GradleVersion(since="4.1") @PluginVersion(since="1.9", until="1.13") public class BuildCacheRemoteLoadFinished_1_0 extends Object implements com.gradle.scan.eventmodel.EventData
AnEventData
that is published when a build cache remote load artifact operation has finished.Zero or more
BuildCacheRemoteLoadFinished_1_0
events may be published.
-
-
Field Summary
Fields Modifier and Type Field Description @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.@Nullable("when the load was successful") ExceptionTree_1_0
failure
The failure in case of a failed load.@Nullable("when the load failed") Boolean
hit
Whether the outcome of the load operation was a hit or miss.long
id
The id of the load activity.
-
Constructor Summary
Constructors Constructor Description BuildCacheRemoteLoadFinished_1_0(long id, @Nullable Boolean hit, @Nullable Long archiveSize, @Nullable ExceptionTree_1_0 failure)
-
-
-
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.
-
failure
@Nullable("when the load was successful") public final @Nullable("when the load was successful") ExceptionTree_1_0 failure
The failure in case of a failed load.null
for plugin version ≥ 1.14.
-
-
Constructor Detail
-
BuildCacheRemoteLoadFinished_1_0
public BuildCacheRemoteLoadFinished_1_0(long id, @Nullable @Nullable Boolean hit, @Nullable @Nullable Long archiveSize, @Nullable @Nullable ExceptionTree_1_0 failure)
-
-