Uses of Enum Class
io.github.bucket4j.local.SynchronizationStrategy
Packages that use SynchronizationStrategy
-
Uses of SynchronizationStrategy in io.github.bucket4j.local
Methods in io.github.bucket4j.local that return SynchronizationStrategyModifier and TypeMethodDescriptionLocalBucket.getSynchronizationStrategy()Returns the synchronization strategy that is used by this bucketLockFreeBucket.getSynchronizationStrategy()SynchronizedBucket.getSynchronizationStrategy()ThreadUnsafeBucket.getSynchronizationStrategy()static SynchronizationStrategyReturns the enum constant of this class with the specified name.static SynchronizationStrategy[]SynchronizationStrategy.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in io.github.bucket4j.local with parameters of type SynchronizationStrategyModifier and TypeMethodDescriptionLocalBucketBuilder.withSynchronizationStrategy(SynchronizationStrategy synchronizationStrategy) SpecifiessynchronizationStrategyfor buckets that will be created by this builder.