提交 c45ce21d 编写于 作者: O Oliver Gondža

[JENKINS-30705] Update the Label#getTiedJobCount javadoc

(cherry picked from commit e1cdc2a6)
上级 9bebf210
......@@ -370,7 +370,9 @@ public abstract class Label extends Actionable implements Comparable<Label>, Mod
}
/**
* Returns a count of projects that are tied on this node. In a system without security this should be the same
* Returns an approximate count of projects that are tied on this node.
*
* In a system without security this should be the same
* as {@code getTiedJobs().size()} but significantly faster as it involves fewer temporary objects and avoids
* sorting the intermediary list. In a system with security, this will likely return a higher value as it counts
* all jobs (mostly) irrespective of access.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册