Uses of Interface
io.github.bucket4j.distributed.remote.RemoteCommand
-
-
Uses of RemoteCommand in io.github.bucket4j.distributed.proxy
Methods in io.github.bucket4j.distributed.proxy with parameters of type RemoteCommand Modifier and Type Method Description <T> CommandResult<T>CommandExecutor. execute(RemoteCommand<T> command)<T> CompletableFuture<CommandResult<T>>AsyncCommandExecutor. executeAsync(RemoteCommand<T> command) -
Uses of RemoteCommand in io.github.bucket4j.distributed.proxy.optimization.batch
Methods in io.github.bucket4j.distributed.proxy.optimization.batch with parameters of type RemoteCommand Modifier and Type Method Description <T> CommandResult<T>BatchingExecutor. execute(RemoteCommand<T> command)<T> CompletableFuture<CommandResult<T>>AsyncBatchingExecutor. executeAsync(RemoteCommand<T> command) -
Uses of RemoteCommand in io.github.bucket4j.distributed.remote
Methods in io.github.bucket4j.distributed.remote that return RemoteCommand Modifier and Type Method Description static <I> RemoteCommand<?>RemoteCommand. deserialize(DeserializationAdapter<I> adapter, I input)static RemoteCommand<?>RemoteCommand. fromJsonCompatibleSnapshot(Map<String,Object> snapshot)RemoteCommand<T>Request. getCommand()default RemoteCommand<?>RemoteCommand. toMergedCommand()Methods in io.github.bucket4j.distributed.remote that return types with arguments of type RemoteCommand Modifier and Type Method Description SerializationHandle<RemoteCommand<?>>RemoteCommand. getSerializationHandle()Methods in io.github.bucket4j.distributed.remote with parameters of type RemoteCommand Modifier and Type Method Description default booleanRemoteCommand. canBeMerged(RemoteCommand<?> another)default voidRemoteCommand. mergeInto(RemoteCommand<?> mergedCommand)static <O> voidRemoteCommand. serialize(SerializationAdapter<O> adapter, O output, RemoteCommand<?> command, Version backwardCompatibilityVersion, Scope scope)static Map<String,Object>RemoteCommand. toJsonCompatibleSnapshot(RemoteCommand<?> command, Version backwardCompatibilityVersion, Scope scope)Constructors in io.github.bucket4j.distributed.remote with parameters of type RemoteCommand Constructor Description Request(RemoteCommand<T> command, Version backwardCompatibilityVersion, Long clientSideTime) -
Uses of RemoteCommand in io.github.bucket4j.distributed.remote.commands
Classes in io.github.bucket4j.distributed.remote.commands that implement RemoteCommand Modifier and Type Class Description classAddTokensCommandclassCheckConfigurationVersionAndExecuteCommand<T>classConsumeAsMuchAsPossibleCommandclassConsumeIgnoringRateLimitsCommandclassCreateInitialStateAndExecuteCommand<T>classCreateInitialStateWithVersionOrReplaceConfigurationAndExecuteCommand<T>classCreateSnapshotCommandclassEstimateAbilityToConsumeCommandclassForceAddTokensCommandclassGetAvailableTokensCommandclassGetConfigurationCommandclassMultiCommandclassReplaceConfigurationCommandclassReserveAndCalculateTimeToSleepCommandclassResetCommandclassSyncCommandclassTryConsumeAndReturnRemainingTokensCommandclassTryConsumeCommandclassVerboseCommand<T>Methods in io.github.bucket4j.distributed.remote.commands that return RemoteCommand Modifier and Type Method Description RemoteCommand<T>CheckConfigurationVersionAndExecuteCommand. getTargetCommand()RemoteCommand<T>CreateInitialStateAndExecuteCommand. getTargetCommand()RemoteCommand<T>CreateInitialStateWithVersionOrReplaceConfigurationAndExecuteCommand. getTargetCommand()RemoteCommand<T>VerboseCommand. getTargetCommand()RemoteCommand<?>CheckConfigurationVersionAndExecuteCommand. toMergedCommand()RemoteCommand<?>TryConsumeCommand. toMergedCommand()RemoteCommand<?>VerboseCommand. toMergedCommand()Methods in io.github.bucket4j.distributed.remote.commands that return types with arguments of type RemoteCommand Modifier and Type Method Description List<RemoteCommand<?>>MultiCommand. getCommands()SerializationHandle<RemoteCommand<?>>CheckConfigurationVersionAndExecuteCommand. getSerializationHandle()SerializationHandle<RemoteCommand<?>>ConsumeIgnoringRateLimitsCommand. getSerializationHandle()SerializationHandle<RemoteCommand<?>>VerboseCommand. getSerializationHandle()Methods in io.github.bucket4j.distributed.remote.commands with parameters of type RemoteCommand Modifier and Type Method Description booleanCheckConfigurationVersionAndExecuteCommand. canBeMerged(RemoteCommand<?> another)booleanTryConsumeCommand. canBeMerged(RemoteCommand<?> another)booleanVerboseCommand. canBeMerged(RemoteCommand<?> another)static <T> VerboseCommand<T>VerboseCommand. from(RemoteCommand<T> targetCommand)voidCheckConfigurationVersionAndExecuteCommand. mergeInto(RemoteCommand<?> mergedCommand)voidTryConsumeCommand. mergeInto(RemoteCommand<?> mergedCommand)voidVerboseCommand. mergeInto(RemoteCommand<?> mergedCommand)Method parameters in io.github.bucket4j.distributed.remote.commands with type arguments of type RemoteCommand Modifier and Type Method Description static MultiCommandMultiCommand. merge(List<RemoteCommand<?>> commands)Constructors in io.github.bucket4j.distributed.remote.commands with parameters of type RemoteCommand Constructor Description CheckConfigurationVersionAndExecuteCommand(RemoteCommand<T> targetCommand, long desiredConfigurationVersion)CreateInitialStateAndExecuteCommand(BucketConfiguration configuration, RemoteCommand<T> targetCommand)CreateInitialStateWithVersionOrReplaceConfigurationAndExecuteCommand(BucketConfiguration configuration, RemoteCommand<T> targetCommand, long desiredConfigurationVersion, TokensInheritanceStrategy tokensInheritanceStrategy)Constructor parameters in io.github.bucket4j.distributed.remote.commands with type arguments of type RemoteCommand Constructor Description MultiCommand(List<RemoteCommand<?>> commands)
-