ResourceWeight

A resource weight entry for the scheduler scoring strategy.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val name: String?

The name of the resource (for example, cpu or memory).

Link copied to clipboard
val weight: Int?

The weight assigned to the resource for scoring. Must be between 1 and 100.

Functions

Link copied to clipboard
inline fun copy(block: ResourceWeight.Builder.() -> Unit = {}): ResourceWeight
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String