Package | Description |
---|---|
io.github.bucket4j | |
io.github.bucket4j.grid | |
io.github.bucket4j.local |
Modifier and Type | Field and Description |
---|---|
static Nothing |
Nothing.INSTANCE |
Modifier and Type | Method and Description |
---|---|
VerboseResult<Nothing> |
VerboseBucket.addTokens(long tokensToAdd)
Does the same that
Bucket.addTokens(long) |
CompletableFuture<VerboseResult<Nothing>> |
AsyncVerboseBucket.addTokens(long tokensToAdd)
Does the same that
Bucket.addTokens(long) |
protected abstract CompletableFuture<VerboseResult<Nothing>> |
AbstractBucket.addTokensVerboseAsyncImpl(long tokensToAdd) |
protected abstract VerboseResult<Nothing> |
AbstractBucket.addTokensVerboseImpl(long tokensToAdd) |
VerboseResult<Nothing> |
VerboseBucket.replaceConfiguration(BucketConfiguration newConfiguration)
Does the same that
Bucket.replaceConfiguration(BucketConfiguration) |
CompletableFuture<VerboseResult<Nothing>> |
AsyncVerboseBucket.replaceConfiguration(BucketConfiguration newConfiguration)
Does the same that
Bucket.replaceConfiguration(BucketConfiguration) |
Modifier and Type | Method and Description |
---|---|
Nothing |
AddTokensCommand.execute(GridBucketState state,
long currentTimeNanos) |
Modifier and Type | Method and Description |
---|---|
protected CompletableFuture<VerboseResult<Nothing>> |
GridBucket.addTokensVerboseAsyncImpl(long tokensToAdd) |
protected VerboseResult<Nothing> |
GridBucket.addTokensVerboseImpl(long tokensToAdd) |
Modifier and Type | Method and Description |
---|---|
protected CompletableFuture<VerboseResult<Nothing>> |
SynchronizedBucket.addTokensVerboseAsyncImpl(long tokensToAdd) |
protected CompletableFuture<VerboseResult<Nothing>> |
LockFreeBucket.addTokensVerboseAsyncImpl(long tokensToAdd) |
protected VerboseResult<Nothing> |
SynchronizedBucket.addTokensVerboseImpl(long tokensToAdd) |
protected VerboseResult<Nothing> |
LockFreeBucket.addTokensVerboseImpl(long tokensToAdd) |
Copyright © 2020. All rights reserved.