| Package | Description |
|---|---|
| io.github.bucket4j.local |
| Modifier and Type | Method and Description |
|---|---|
SynchronizationStrategy |
LocalBucket.getSynchronizationStrategy()
Returns the synchronization strategy that is used by this bucket
|
SynchronizationStrategy |
ThreadUnsafeBucket.getSynchronizationStrategy() |
SynchronizationStrategy |
SynchronizedBucket.getSynchronizationStrategy() |
SynchronizationStrategy |
LockFreeBucket.getSynchronizationStrategy() |
static SynchronizationStrategy |
SynchronizationStrategy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SynchronizationStrategy[] |
SynchronizationStrategy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
LocalBucketBuilder |
LocalBucketBuilder.withSynchronizationStrategy(SynchronizationStrategy synchronizationStrategy)
Specifies
synchronizationStrategy for buckets that will be created by this builder. |
Copyright © 2022. All rights reserved.