Uses of Class
io.github.bucket4j.distributed.remote.CommandResult
-
-
Uses of CommandResult in io.github.bucket4j.distributed.proxy
Methods in io.github.bucket4j.distributed.proxy that return CommandResult Modifier and Type Method Description protected abstract <T> CommandResult<T>AbstractProxyManager. execute(K key, Request<T> request)<T> CommandResult<T>CommandExecutor. execute(RemoteCommand<T> command)Methods in io.github.bucket4j.distributed.proxy that return types with arguments of type CommandResult Modifier and Type Method Description protected abstract <T> CompletableFuture<CommandResult<T>>AbstractProxyManager. executeAsync(K key, Request<T> request)<T> CompletableFuture<CommandResult<T>>AsyncCommandExecutor. executeAsync(RemoteCommand<T> command) -
Uses of CommandResult in io.github.bucket4j.distributed.proxy.generic.compare_and_swap
Methods in io.github.bucket4j.distributed.proxy.generic.compare_and_swap that return CommandResult Modifier and Type Method Description <T> CommandResult<T>AbstractCompareAndSwapBasedProxyManager. execute(K key, Request<T> request)Methods in io.github.bucket4j.distributed.proxy.generic.compare_and_swap that return types with arguments of type CommandResult Modifier and Type Method Description <T> CompletableFuture<CommandResult<T>>AbstractCompareAndSwapBasedProxyManager. executeAsync(K key, Request<T> request) -
Uses of CommandResult in io.github.bucket4j.distributed.proxy.generic.pessimistic_locking
Methods in io.github.bucket4j.distributed.proxy.generic.pessimistic_locking that return CommandResult Modifier and Type Method Description <T> CommandResult<T>AbstractLockBasedProxyManager. execute(K key, Request<T> request)Methods in io.github.bucket4j.distributed.proxy.generic.pessimistic_locking that return types with arguments of type CommandResult Modifier and Type Method Description <T> CompletableFuture<CommandResult<T>>AbstractLockBasedProxyManager. executeAsync(K key, Request<T> request) -
Uses of CommandResult in io.github.bucket4j.distributed.proxy.generic.select_for_update
Methods in io.github.bucket4j.distributed.proxy.generic.select_for_update that return CommandResult Modifier and Type Method Description <T> CommandResult<T>AbstractSelectForUpdateBasedProxyManager. execute(K key, Request<T> request)Methods in io.github.bucket4j.distributed.proxy.generic.select_for_update that return types with arguments of type CommandResult Modifier and Type Method Description <T> CompletableFuture<CommandResult<T>>AbstractSelectForUpdateBasedProxyManager. executeAsync(K key, Request<T> request) -
Uses of CommandResult in io.github.bucket4j.distributed.proxy.optimization.batch
Methods in io.github.bucket4j.distributed.proxy.optimization.batch that return CommandResult Modifier and Type Method Description <T> CommandResult<T>BatchingExecutor. execute(RemoteCommand<T> command)Methods in io.github.bucket4j.distributed.proxy.optimization.batch that return types with arguments of type CommandResult Modifier and Type Method Description <T> CompletableFuture<CommandResult<T>>AsyncBatchingExecutor. executeAsync(RemoteCommand<T> command) -
Uses of CommandResult in io.github.bucket4j.distributed.remote
Fields in io.github.bucket4j.distributed.remote declared as CommandResult Modifier and Type Field Description static CommandResult<Boolean>CommandResult. FALSEstatic CommandResult<Long>CommandResult. MAX_VALUEstatic CommandResult<Nothing>CommandResult. NOTHINGstatic CommandResult<Boolean>CommandResult. TRUEstatic CommandResult<Long>CommandResult. ZEROFields in io.github.bucket4j.distributed.remote with type parameters of type CommandResult Modifier and Type Field Description static SerializationHandle<CommandResult<?>>CommandResult. SERIALIZATION_HANDLEMethods in io.github.bucket4j.distributed.remote that return CommandResult Modifier and Type Method Description static <R> CommandResult<R>CommandResult. bucketNotFound()static <R> CommandResult<R>CommandResult. configurationNeedToBeReplaced()static <R> CommandResult<R>CommandResult. empty()CommandResult<T>RemoteCommand. execute(MutableBucketEntry mutableEntry, long currentTimeNanos)static <R> CommandResult<R>CommandResult. success(R data, int resultTypeId)static <R> CommandResult<R>CommandResult. success(R data, SerializationHandle dataSerializer)static CommandResult<?>CommandResult. unsupportedNamedType(String typeName)static CommandResult<?>CommandResult. unsupportedType(int typeId)static CommandResult<?>CommandResult. usageOfObsoleteApiException(int requestedFormatNumber, int minSupportedFormatNumber)static CommandResult<?>CommandResult. usageOfUnsupportedApiException(int requestedFormatNumber, int maxSupportedFormatNumber)Methods in io.github.bucket4j.distributed.remote that return types with arguments of type CommandResult Modifier and Type Method Description List<CommandResult<?>>MultiResult. getResults()Methods in io.github.bucket4j.distributed.remote with parameters of type CommandResult Modifier and Type Method Description booleanCommandResult. equalsByContent(CommandResult other)Constructor parameters in io.github.bucket4j.distributed.remote with type arguments of type CommandResult Constructor Description MultiResult(List<CommandResult<?>> results) -
Uses of CommandResult in io.github.bucket4j.distributed.remote.commands
Methods in io.github.bucket4j.distributed.remote.commands that return CommandResult Modifier and Type Method Description CommandResult<Nothing>AddTokensCommand. execute(MutableBucketEntry mutableEntry, long currentTimeNanos)CommandResult<T>CheckConfigurationVersionAndExecuteCommand. execute(MutableBucketEntry mutableEntry, long currentTimeNanos)CommandResult<Long>ConsumeAsMuchAsPossibleCommand. execute(MutableBucketEntry mutableEntry, long currentTimeNanos)CommandResult<Long>ConsumeIgnoringRateLimitsCommand. execute(MutableBucketEntry mutableEntry, long currentTimeNanos)CommandResult<T>CreateInitialStateAndExecuteCommand. execute(MutableBucketEntry mutableEntry, long currentTimeNanos)CommandResult<T>CreateInitialStateWithVersionOrReplaceConfigurationAndExecuteCommand. execute(MutableBucketEntry mutableEntry, long currentTimeNanos)CommandResult<RemoteBucketState>CreateSnapshotCommand. execute(MutableBucketEntry mutableEntry, long currentTimeNanos)CommandResult<EstimationProbe>EstimateAbilityToConsumeCommand. execute(MutableBucketEntry mutableEntry, long currentTimeNanos)CommandResult<Nothing>ForceAddTokensCommand. execute(MutableBucketEntry mutableEntry, long currentTimeNanos)CommandResult<Long>GetAvailableTokensCommand. execute(MutableBucketEntry mutableEntry, long currentTimeNanos)CommandResult<BucketConfiguration>GetConfigurationCommand. execute(MutableBucketEntry mutableEntry, long currentTimeNanos)CommandResult<MultiResult>MultiCommand. execute(MutableBucketEntry mutableEntry, long currentTimeNanos)CommandResult<Nothing>ReplaceConfigurationCommand. execute(MutableBucketEntry mutableEntry, long currentTimeNanos)CommandResult<Long>ReserveAndCalculateTimeToSleepCommand. execute(MutableBucketEntry mutableEntry, long currentTimeNanos)CommandResult<Nothing>ResetCommand. execute(MutableBucketEntry mutableEntry, long currentTimeNanos)CommandResult<Nothing>SyncCommand. execute(MutableBucketEntry mutableEntry, long currentTimeNanos)CommandResult<ConsumptionProbe>TryConsumeAndReturnRemainingTokensCommand. execute(MutableBucketEntry mutableEntry, long currentTimeNanos)CommandResult<Boolean>TryConsumeCommand. execute(MutableBucketEntry mutableEntry, long currentTimeNanos)CommandResult<RemoteVerboseResult<T>>VerboseCommand. execute(MutableBucketEntry mutableEntry, long currentTimeNanos) -
Uses of CommandResult in io.github.bucket4j.distributed.serialization
Methods in io.github.bucket4j.distributed.serialization that return CommandResult Modifier and Type Method Description static <T> CommandResult<T>InternalSerializationHelper. deserializeResult(byte[] bytes, Version backwardCompatibilityVersion)Methods in io.github.bucket4j.distributed.serialization with parameters of type CommandResult Modifier and Type Method Description static byte[]InternalSerializationHelper. serializeResult(CommandResult<?> result, Version backwardCompatibilityVersion)
-