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, Version backwardCompatibilityVersion)static RemoteCommand<?>RemoteCommand. fromJsonCompatibleSnapshot(Map<String,Object> snapshot, Version backwardCompatibilityVersion)RemoteCommand<T>Request. getCommand()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 static <O> voidRemoteCommand. serialize(SerializationAdapter<O> adapter, O output, RemoteCommand<?> command, Version backwardCompatibilityVersion)static Map<String,Object>RemoteCommand. toJsonCompatibleSnapshot(RemoteCommand<?> command, Version backwardCompatibilityVersion)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 classAddTokensCommandclassConsumeAsMuchAsPossibleCommandclassConsumeIgnoringRateLimitsCommandclassCreateInitialStateAndExecuteCommand<T>classCreateInitialStateCommandclassCreateSnapshotCommandclassEstimateAbilityToConsumeCommandclassForceAddTokensCommandclassGetAvailableTokensCommandclassGetConfigurationCommandclassMultiCommandclassReplaceConfigurationCommandclassReserveAndCalculateTimeToSleepCommandclassResetCommandclassSyncCommandclassTryConsumeAndReturnRemainingTokensCommandclassTryConsumeCommandclassVerboseCommand<T>Methods in io.github.bucket4j.distributed.remote.commands that return RemoteCommand Modifier and Type Method Description RemoteCommand<T>CreateInitialStateAndExecuteCommand. getTargetCommand()RemoteCommand<T>VerboseCommand. getTargetCommand()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<?>>ConsumeIgnoringRateLimitsCommand. getSerializationHandle()SerializationHandle<RemoteCommand<?>>VerboseCommand. getSerializationHandle()Constructors in io.github.bucket4j.distributed.remote.commands with parameters of type RemoteCommand Constructor Description CreateInitialStateAndExecuteCommand(BucketConfiguration configuration, RemoteCommand<T> targetCommand)VerboseCommand(RemoteCommand<T> targetCommand)Constructor parameters in io.github.bucket4j.distributed.remote.commands with type arguments of type RemoteCommand Constructor Description MultiCommand(List<RemoteCommand<?>> commands)
-