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
An
EventData 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
FieldsModifier and TypeFieldDescriptionfinal @Nullable("when the load was a miss or failed") LongThe number of bytes of the loaded cache artifact, if it was a hit.final @Nullable("when the load was successful") ExceptionTree_1_0The failure in case of a failed load.final @Nullable("when the load failed") BooleanWhether the outcome of the load operation was a hit or miss.final longThe id of the load activity. -
Constructor Summary
ConstructorsConstructorDescriptionBuildCacheRemoteLoadFinished_1_0(long id, @Nullable Boolean hit, @Nullable Long archiveSize, @Nullable ExceptionTree_1_0 failure) -
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. -
failure
@Nullable("when the load was successful") public final @Nullable("when the load was successful") ExceptionTree_1_0 failureThe failure in case of a failed load.nullfor plugin version ≥ 1.14.
-
-
Constructor Details
-
BuildCacheRemoteLoadFinished_1_0
public BuildCacheRemoteLoadFinished_1_0(long id, @Nullable @Nullable Boolean hit, @Nullable @Nullable Long archiveSize, @Nullable @Nullable ExceptionTree_1_0 failure)
-
-
Method Details