Class StatisticsHandler.MinimumDataRateHandler

java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
All Implemented Interfaces:
Handler, Handler.Container, Handler.Singleton, Request.Handler, org.eclipse.jetty.util.component.Container, org.eclipse.jetty.util.component.Destroyable, org.eclipse.jetty.util.component.Dumpable, org.eclipse.jetty.util.component.Dumpable.DumpableContainer, org.eclipse.jetty.util.component.LifeCycle, org.eclipse.jetty.util.thread.Invocable
Enclosing class:
StatisticsHandler

public static class StatisticsHandler.MinimumDataRateHandler extends StatisticsHandler
Checks that the wrapped handler can read/write at a minimal rate of N bytes per second. When reading or writing does not conform to the specified rates, this handler prevents further reads or writes by making them immediately fail.