Uses of Class
io.github.bucket4j.ConsumptionProbe
-
Packages that use ConsumptionProbe Package Description io.github.bucket4j io.github.bucket4j.distributed io.github.bucket4j.distributed.proxy io.github.bucket4j.distributed.remote.commands io.github.bucket4j.local -
-
Uses of ConsumptionProbe in io.github.bucket4j
Fields in io.github.bucket4j with type parameters of type ConsumptionProbe Modifier and Type Field Description static SerializationHandle<ConsumptionProbe>ConsumptionProbe. SERIALIZATION_HANDLEMethods in io.github.bucket4j that return ConsumptionProbe Modifier and Type Method Description static ConsumptionProbeConsumptionProbe. consumed(long remainingTokens, long nanosToWaitForReset)static ConsumptionProbeConsumptionProbe. rejected(long remainingTokens, long nanosToWaitForRefill, long nanosToWaitForReset)ConsumptionProbeAbstractBucket. tryConsumeAndReturnRemaining(long tokensToConsume)ConsumptionProbeBucket. tryConsumeAndReturnRemaining(long numTokens)Tries to consume a specified number of tokens from this bucket.protected abstract ConsumptionProbeAbstractBucket. tryConsumeAndReturnRemainingTokensImpl(long tokensToConsume)Methods in io.github.bucket4j that return types with arguments of type ConsumptionProbe Modifier and Type Method Description VerboseResult<ConsumptionProbe>VerboseBucket. tryConsumeAndReturnRemaining(long numTokens)Does the same thatBucket.tryConsumeAndReturnRemaining(long)protected abstract VerboseResult<ConsumptionProbe>AbstractBucket. tryConsumeAndReturnRemainingTokensVerboseImpl(long tokensToConsume)Methods in io.github.bucket4j with parameters of type ConsumptionProbe Modifier and Type Method Description booleanConsumptionProbe. equalsByContent(ConsumptionProbe other) -
Uses of ConsumptionProbe in io.github.bucket4j.distributed
Methods in io.github.bucket4j.distributed that return types with arguments of type ConsumptionProbe Modifier and Type Method Description CompletableFuture<ConsumptionProbe>AsyncBucketProxy. tryConsumeAndReturnRemaining(long numTokens)Asynchronous version ofBucket.tryConsumeAndReturnRemaining(long), follows the same semantic.CompletableFuture<ConsumptionProbe>AsyncBucketProxyAdapter. tryConsumeAndReturnRemaining(long numTokens)CompletableFuture<VerboseResult<ConsumptionProbe>>AsyncVerboseBucket. tryConsumeAndReturnRemaining(long numTokens)Does the same thatBucket.tryConsumeAndReturnRemaining(long) -
Uses of ConsumptionProbe in io.github.bucket4j.distributed.proxy
Methods in io.github.bucket4j.distributed.proxy that return ConsumptionProbe Modifier and Type Method Description protected ConsumptionProbeDefaultBucketProxy. tryConsumeAndReturnRemainingTokensImpl(long tokensToConsume)Methods in io.github.bucket4j.distributed.proxy that return types with arguments of type ConsumptionProbe Modifier and Type Method Description CompletableFuture<ConsumptionProbe>DefaultAsyncBucketProxy. tryConsumeAndReturnRemaining(long tokensToConsume)protected VerboseResult<ConsumptionProbe>DefaultBucketProxy. tryConsumeAndReturnRemainingTokensVerboseImpl(long tokensToConsume) -
Uses of ConsumptionProbe in io.github.bucket4j.distributed.remote.commands
Methods in io.github.bucket4j.distributed.remote.commands that return types with arguments of type ConsumptionProbe Modifier and Type Method Description CommandResult<ConsumptionProbe>TryConsumeAndReturnRemainingTokensCommand. execute(MutableBucketEntry mutableEntry, long currentTimeNanos)Methods in io.github.bucket4j.distributed.remote.commands with parameters of type ConsumptionProbe Modifier and Type Method Description longTryConsumeAndReturnRemainingTokensCommand. getConsumedTokens(ConsumptionProbe result) -
Uses of ConsumptionProbe in io.github.bucket4j.local
Methods in io.github.bucket4j.local that return ConsumptionProbe Modifier and Type Method Description protected ConsumptionProbeLockFreeBucket. tryConsumeAndReturnRemainingTokensImpl(long tokensToConsume)protected ConsumptionProbeSynchronizedBucket. tryConsumeAndReturnRemainingTokensImpl(long tokensToConsume)protected ConsumptionProbeThreadUnsafeBucket. tryConsumeAndReturnRemainingTokensImpl(long tokensToConsume)Methods in io.github.bucket4j.local that return types with arguments of type ConsumptionProbe Modifier and Type Method Description protected VerboseResult<ConsumptionProbe>LockFreeBucket. tryConsumeAndReturnRemainingTokensVerboseImpl(long tokensToConsume)protected VerboseResult<ConsumptionProbe>SynchronizedBucket. tryConsumeAndReturnRemainingTokensVerboseImpl(long tokensToConsume)protected VerboseResult<ConsumptionProbe>ThreadUnsafeBucket. tryConsumeAndReturnRemainingTokensVerboseImpl(long tokensToConsume)
-