| Package | Description |
|---|---|
| io.github.bucket4j | |
| io.github.bucket4j.grid | |
| io.github.bucket4j.local |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractBucket |
| Modifier and Type | Method and Description |
|---|---|
Bucket |
Bucket.toListenable(BucketListener listener)
Returns new copy of this bucket instance decorated by
listener. |
| Modifier and Type | Class and Description |
|---|---|
class |
GridBucket<K extends Serializable>
Represents the bucket which state actually stored outside current JVM.
|
| Modifier and Type | Method and Description |
|---|---|
default Bucket |
ProxyManager.getProxy(K key,
BucketConfiguration configuration)
Provides light-weight proxy to bucket which actually stored outside current JVM.
|
Bucket |
ProxyManager.getProxy(K key,
Supplier<BucketConfiguration> configurationLazySupplier)
Provides light-weight proxy to bucket which actually stored outside current JVM.
|
Bucket |
GridBucket.toListenable(BucketListener listener) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Bucket> |
ProxyManager.getProxy(K key)
Locates proxy to bucket which actually stored outside current JVM.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
LocalBucket
Represents the bucket inside current JVM.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LockFreeBucket |
class |
SynchronizedBucket |
| Modifier and Type | Method and Description |
|---|---|
Bucket |
SynchronizedBucket.toListenable(BucketListener listener) |
Bucket |
LockFreeBucket.toListenable(BucketListener listener) |
Copyright © 2021. All rights reserved.