QuotaStatus

@Serializable
data class QuotaStatus(val config: QuotaConfig, val usage: QuotaUsage, val peers: Map<String, PeerQuotaUsage>? = null)

The quota in force and how close the cluster is to it.

The configuration is cluster-wide and the utilization is not. usage is the node that answered, and peers is what every peer that could be reached reports about itself, so one peer being comfortable says nothing about the others. A peer missing from peers did not answer, which is worth seeing.

Constructors

Link copied to clipboard
constructor(config: QuotaConfig, usage: QuotaUsage, peers: Map<String, PeerQuotaUsage>? = null)

Properties

Link copied to clipboard
@SerialName(value = "config")
val config: QuotaConfig
Link copied to clipboard
@SerialName(value = "peers")
val peers: Map<String, PeerQuotaUsage>?

Keyed by peer id, and absent outside distributed mode, where there are no peers to ask.

Link copied to clipboard
@SerialName(value = "usage")
val usage: QuotaUsage