Uses of Class
io.github.bucket4j.distributed.remote.CommandResult
Packages that use CommandResult
Package
Description
-
Uses of CommandResult in io.github.bucket4j.distributed.proxy
Methods in io.github.bucket4j.distributed.proxy that return CommandResultModifier and TypeMethodDescriptionprotected abstract <T> CommandResult<T><T> CommandResult<T>CommandExecutor.execute(RemoteCommand<T> command) Methods in io.github.bucket4j.distributed.proxy that return types with arguments of type CommandResultModifier and TypeMethodDescriptionprotected 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 CommandResultMethods in io.github.bucket4j.distributed.proxy.generic.compare_and_swap that return types with arguments of type CommandResultModifier and TypeMethodDescription<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 CommandResultMethods in io.github.bucket4j.distributed.proxy.generic.pessimistic_locking that return types with arguments of type CommandResultModifier and TypeMethodDescription<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 CommandResultMethods in io.github.bucket4j.distributed.proxy.generic.select_for_update that return types with arguments of type CommandResultModifier and TypeMethodDescription<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 CommandResultModifier and TypeMethodDescription<T> CommandResult<T>BatchingExecutor.execute(RemoteCommand<T> command) Methods in io.github.bucket4j.distributed.proxy.optimization.batch that return types with arguments of type CommandResultModifier and TypeMethodDescription<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 CommandResultModifier and TypeFieldDescriptionstatic final CommandResult<Boolean>CommandResult.FALSEstatic final CommandResult<Long>CommandResult.MAX_VALUEstatic final CommandResult<Nothing>CommandResult.NOTHINGstatic final CommandResult<Boolean>CommandResult.TRUEstatic final CommandResult<Long>CommandResult.ZEROFields in io.github.bucket4j.distributed.remote with type parameters of type CommandResultModifier and TypeFieldDescriptionstatic final SerializationHandle<CommandResult<?>>CommandResult.SERIALIZATION_HANDLEMethods in io.github.bucket4j.distributed.remote that return CommandResultModifier and TypeMethodDescriptionstatic <R> CommandResult<R>CommandResult.bucketNotFound()static <R> CommandResult<R>CommandResult.configurationNeedToBeReplaced()static <R> CommandResult<R>CommandResult.empty()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) default CommandResult<?>RemoteCommand.unwrapOneResult(T result, int indice) 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 CommandResultMethods in io.github.bucket4j.distributed.remote with parameters of type CommandResultConstructor parameters in io.github.bucket4j.distributed.remote with type arguments of type CommandResult -
Uses of CommandResult in io.github.bucket4j.distributed.remote.commands
Methods in io.github.bucket4j.distributed.remote.commands that return CommandResultModifier and TypeMethodDescriptionAddTokensCommand.execute(MutableBucketEntry mutableEntry, long currentTimeNanos) CheckConfigurationVersionAndExecuteCommand.execute(MutableBucketEntry mutableEntry, long currentTimeNanos) ConsumeAsMuchAsPossibleCommand.execute(MutableBucketEntry mutableEntry, long currentTimeNanos) ConsumeIgnoringRateLimitsCommand.execute(MutableBucketEntry mutableEntry, long currentTimeNanos) CreateInitialStateAndExecuteCommand.execute(MutableBucketEntry mutableEntry, long currentTimeNanos) CreateInitialStateWithVersionOrReplaceConfigurationAndExecuteCommand.execute(MutableBucketEntry mutableEntry, long currentTimeNanos) CreateSnapshotCommand.execute(MutableBucketEntry mutableEntry, long currentTimeNanos) EstimateAbilityToConsumeCommand.execute(MutableBucketEntry mutableEntry, long currentTimeNanos) ForceAddTokensCommand.execute(MutableBucketEntry mutableEntry, long currentTimeNanos) GetAvailableTokensCommand.execute(MutableBucketEntry mutableEntry, long currentTimeNanos) GetConfigurationCommand.execute(MutableBucketEntry mutableEntry, long currentTimeNanos) MultiCommand.execute(MutableBucketEntry mutableEntry, long currentTimeNanos) ReplaceConfigurationCommand.execute(MutableBucketEntry mutableEntry, long currentTimeNanos) ReserveAndCalculateTimeToSleepCommand.execute(MutableBucketEntry mutableEntry, long currentTimeNanos) ResetCommand.execute(MutableBucketEntry mutableEntry, long currentTimeNanos) SyncCommand.execute(MutableBucketEntry mutableEntry, long currentTimeNanos) TryConsumeAndReturnRemainingTokensCommand.execute(MutableBucketEntry mutableEntry, long currentTimeNanos) TryConsumeCommand.execute(MutableBucketEntry mutableEntry, long currentTimeNanos) VerboseCommand.execute(MutableBucketEntry mutableEntry, long currentTimeNanos) CheckConfigurationVersionAndExecuteCommand.unwrapOneResult(T result, int indice) ConsumeAsMuchAsPossibleCommand.unwrapOneResult(Long consumedTokens, int indice) VerboseCommand.unwrapOneResult(RemoteVerboseResult<T> mergedVerboseResult, int indice) Methods in io.github.bucket4j.distributed.remote.commands that return types with arguments of type CommandResultModifier and TypeMethodDescriptionList<CommandResult<?>>MultiCommand.unwrap(CommandResult<MultiResult> multiResult) Methods in io.github.bucket4j.distributed.remote.commands with parameters of type CommandResultModifier and TypeMethodDescriptionList<CommandResult<?>>MultiCommand.unwrap(CommandResult<MultiResult> multiResult) -
Uses of CommandResult in io.github.bucket4j.distributed.serialization
Methods in io.github.bucket4j.distributed.serialization that return CommandResultModifier and TypeMethodDescriptionstatic <T> CommandResult<T>InternalSerializationHelper.deserializeResult(byte[] bytes, Version backwardCompatibilityVersion) Methods in io.github.bucket4j.distributed.serialization with parameters of type CommandResultModifier and TypeMethodDescriptionstatic byte[]InternalSerializationHelper.serializeResult(CommandResult<?> result, Version backwardCompatibilityVersion)