Skip to content

Commit

Permalink
PR changes - #1
Browse files Browse the repository at this point in the history
  • Loading branch information
matchand-nokia committed Jun 25, 2021
1 parent bfaae02 commit 8bb24cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<java.level>8</java.level>
<jenkins.version>2.222.1</jenkins.version>
<metrics.version>4.1.6</metrics.version>
<revision>4.0.2.11</revision>
<revision>4.0.2.9</revision>
<changelist>-SNAPSHOT</changelist>
</properties>

Expand Down
7 changes: 4 additions & 3 deletions src/main/java/jenkins/metrics/impl/TimeInQueueAction.java
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,11 @@ public long getQueuingTimeMillis() {
}

/**
* Returns the total time this {@link Run} spent queuing, including the time spent by subtasks. This is the sum
* of {@link #getQueuingDurationMillis()} plus all the {@link SubTaskTimeInQueueAction#getQueuingDurationMillis()}.
* Returns the a map of all the subtasks in this {@link Run} mapped to the time spent by each {@link SubTask} in queue.
* Subtasks are denoted in the map by chronological order and the subtask time in queue is denoted using
* {@link SubTaskTimeInQueueAction#getQueuingDurationMillis()}
*
* @return the total time this {@link Run} spent queuing
* @return a map where each {@link SubTask} in this {@link Run} is mapped to each subtask's time in queue
*/
@Exported(visibility = 2)
public Map<String, Long> getSubTaskMap() {
Expand Down

0 comments on commit 8bb24cb

Please sign in to comment.