Class NetworkDownloadActivityFinished_1_1
java.lang.Object
com.gradle.scan.eventmodel.gradle.NetworkDownloadActivityFinished_1_0
com.gradle.scan.eventmodel.gradle.NetworkDownloadActivityFinished_1_1
- All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData
- Direct Known Subclasses:
NetworkDownloadActivityFinished_1_2
@GradleVersion(since="4.0")
@PluginVersion(since="1.8",
until="1.13")
public class NetworkDownloadActivityFinished_1_1
extends NetworkDownloadActivityFinished_1_0
An
EventData that is published when a network download operation has finished.
Zero or more NetworkDownloadActivityFinished_1_1 events may be published.
-
Field Summary
FieldsFields inherited from class com.gradle.scan.eventmodel.gradle.NetworkDownloadActivityFinished_1_0
failure, id -
Constructor Summary
ConstructorsConstructorDescriptionNetworkDownloadActivityFinished_1_1(long id, long readContentLength, @Nullable ExceptionTree_1_0 failure) -
Method Summary
-
Field Details
-
readContentLength
public final long readContentLengthThe number of content bytes read.This is not guaranteed to be the number of bytes transferred. For example, this resource may be content encoded (e.g. compression, fewer bytes transferred). Or, it might be transfer encoded (e.g. HTTP chunked transfer, more bytes transferred). Or, both. Therefore, it is not necessarily an accurate input into transfer rate (a.k.a. throughput) calculations.
Moreover, it represents the content bytes read, not transferred. If the read operation only reads a subset of what was transmitted, this number will be the read byte count.
Negative values should be ignored as they indicate insufficient data available for content length.
-
-
Constructor Details
-
NetworkDownloadActivityFinished_1_1
public NetworkDownloadActivityFinished_1_1(long id, long readContentLength, @Nullable @Nullable ExceptionTree_1_0 failure)
-
-
Method Details
-
equals
- Overrides:
equalsin classNetworkDownloadActivityFinished_1_0
-
hashCode
public int hashCode()- Overrides:
hashCodein classNetworkDownloadActivityFinished_1_0
-
toString
- Overrides:
toStringin classNetworkDownloadActivityFinished_1_0
-