public abstract static class AbstractLimiter.Builder<BuilderT extends AbstractLimiter.Builder<BuilderT,ContextT>,ContextT>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected MetricRegistry |
registry |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BuilderT |
clock(java.util.function.Supplier<java.lang.Long> clock) |
BuilderT |
limit(Limit limit) |
BuilderT |
metricRegistry(MetricRegistry registry) |
protected abstract BuilderT |
self() |
protected MetricRegistry registry