Make Throttler usable from Java, see #3223