Least Seized Comparator
The number of times the resource was seized is used to determine the ordering. The less the number the smaller. If the number of times seized is equal, then the resource with the earliest time exiting the busy state is considered smaller. That is the one furthest back in time that the busy state was exited.
Functions
Link copied to clipboard
Link copied to clipboard
open fun <U : Any> thenComparing(p0: Function<in Resource, out U>, p1: Comparator<in U>): Comparator<Resource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard