Credits replenished per window.
Optional
Clock injection for deterministic tests.
Per-method weights; falls back to 1 for unknown methods.
Window length in ms.
Credits replenished per window.