Uses of Interface
com.github.cowwoc.tokenbucket.Container
Packages that use Container
-
Uses of Container in com.github.cowwoc.tokenbucket
Classes in com.github.cowwoc.tokenbucket that implement ContainerModifier and TypeClassDescriptionfinal class
A container with Limits.final class
A container of one or more children containers.Methods in com.github.cowwoc.tokenbucket that return ContainerModifier and TypeMethodDescriptionConsumptionResult.getContainer()
Returns the container that tokens were consumed from.Methods in com.github.cowwoc.tokenbucket that return types with arguments of type ContainerModifier and TypeMethodDescriptionContainerList.Builder.children()
Returns the children containers.ContainerList.ConfigurationUpdater.children()
Returns the children containers.Container.getChildren()
Returns the children containers.Methods in com.github.cowwoc.tokenbucket with parameters of type ContainerModifier and TypeMethodDescriptiondefault void
ContainerListener.beforeSleep
(Container container, long tokens, Instant requestedAt, Instant availableAt, List<Limit> bottlenecks) Invoked before sleeping to wait for more tokens.Removes a child from this list.Constructors in com.github.cowwoc.tokenbucket with parameters of type ContainerModifierConstructorDescriptionConsumptionResult
(Container container, long minimumTokensRequested, long maximumTokensRequested, long tokensConsumed, Instant requestedAt, Instant consumedAt, Instant availableAt, long tokensLeft, List<Limit> bottlenecks) Creates a result of a request to consume tokens. -
Uses of Container in com.github.cowwoc.tokenbucket.internal
Classes in com.github.cowwoc.tokenbucket.internal that implement ContainerModifier and TypeClassDescriptionclass
com.github.cowwoc.tokenbucket.internal.AbstractContainer
Functionality common to all container classes.