MavenDependencyResolution

data class MavenDependencyResolution(@Json(name = "serialDependencyResolutionTime") val serialDependencyResolutionTime: Long, @Json(name = "networkRequestCount") val networkRequestCount: Long, @Json(name = "serialNetworkRequestTime") val serialNetworkRequestTime: Long, @Json(name = "wallClockNetworkRequestTime") val wallClockNetworkRequestTime: Long, @Json(name = "fileDownloadSize") val fileDownloadSize: Long, @Json(name = "fileDownloadCount") val fileDownloadCount: Long)

Information about dependency resolution.

Parameters

serialDependencyResolutionTime

The total cumulative time, in milliseconds, spent resolving dependencies. The process of resolving a dependency involves fetching metadata from remote repositories, determining the appropriate version to use, and ultimately fetching the dependency artifact.

networkRequestCount

This represents the total count of network requests made during configuration resolution.

serialNetworkRequestTime

The duration in milliseconds representing the sum of times for potentially parallel network requests. It does not reflect wall clock time but offers a rough estimation of network activity.

wallClockNetworkRequestTime

The estimate in milliseconds representing the wall clock time spent on network requests during the current build. It is calculated by comparing the critical path of project executions with and without network requests, converted to wall clock time.

fileDownloadSize

The total number of bytes downloaded for dependencies. It accounts only for the bytes of the files (e.g. POMs, JARs) downloaded and not the total network transfer.

fileDownloadCount

The total number of successfully downloaded files.

Constructors

Link copied to clipboard
constructor(@Json(name = "serialDependencyResolutionTime") serialDependencyResolutionTime: Long, @Json(name = "networkRequestCount") networkRequestCount: Long, @Json(name = "serialNetworkRequestTime") serialNetworkRequestTime: Long, @Json(name = "wallClockNetworkRequestTime") wallClockNetworkRequestTime: Long, @Json(name = "fileDownloadSize") fileDownloadSize: Long, @Json(name = "fileDownloadCount") fileDownloadCount: Long)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard