ThrottleStrategy

Which per-user throttling policies are active. Selected by throttle.strategy.

Kept as an enum with capability flags rather than a set of booleans so an admin picks one intelligible word, and so io.fairyfox.papermc.despawneditems.throttle.ThrottleManager can branch without string comparisons on the hot path.

Entries

Link copied to clipboard

No per-user throttling — the global performance budget is the only bound.

Link copied to clipboard

"Max per chunk of time": N relocations per player per window.

Link copied to clipboard

"Max per each one": N relocations in flight per player at once.

Link copied to clipboard

Weighted round-robin so no one player monopolises the drain.

Link copied to clipboard

All three together — the recommended setting when throttling is switched on.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.