Uses of Class
com.github.cowwoc.tokenbucket.Bucket.ConfigurationUpdater
Packages that use Bucket.ConfigurationUpdater
-
Uses of Bucket.ConfigurationUpdater in com.github.cowwoc.tokenbucket
Methods in com.github.cowwoc.tokenbucket that return Bucket.ConfigurationUpdaterModifier and TypeMethodDescriptionBucket.ConfigurationUpdater.addLimit
(Function<Limit.Builder, Limit> limitBuilder) Adds a limit that the bucket must respect.Bucket.ConfigurationUpdater.addListener
(ContainerListener listener) Adds an event listener to the bucket.Bucket.ConfigurationUpdater.clear()
Removes all limits.Bucket.ConfigurationUpdater.removeLimit
(Limit limit) Removes a limit that the bucket must respect.Bucket.ConfigurationUpdater.removeListener
(ContainerListener listener) Removes an event listener from the bucket.Bucket.updateConfiguration()
Updates this Bucket's configuration.Sets user data associated with this bucket.