Uses of Enum Class
com.github.cowwoc.tokenbucket.SelectionPolicy
Packages that use SelectionPolicy
-
Uses of SelectionPolicy in com.github.cowwoc.tokenbucket
Methods in com.github.cowwoc.tokenbucket that return SelectionPolicyModifier and TypeMethodDescriptionstatic SelectionPolicy
Returns the enum constant of this class with the specified name.static SelectionPolicy[]
SelectionPolicy.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.github.cowwoc.tokenbucket with parameters of type SelectionPolicyModifier and TypeMethodDescriptionContainerList.Builder.consumeFromOne
(SelectionPolicy selectionPolicy) Indicates that the list should delegate to the first child that has sufficient number of tokens available.ContainerList.ConfigurationUpdater.consumeFromOne
(SelectionPolicy selectionPolicy) Indicates that the list should delegate to the first child that has sufficient number of tokens available.