Module io.github.bucket4j.core
Class AsyncBatchingExecutor
- java.lang.Object
-
- io.github.bucket4j.distributed.proxy.optimization.batch.AsyncBatchingExecutor
-
- All Implemented Interfaces:
AsyncCommandExecutor
public class AsyncBatchingExecutor extends Object implements AsyncCommandExecutor
-
-
Constructor Summary
Constructors Constructor Description AsyncBatchingExecutor(AsyncCommandExecutor originalExecutor, OptimizationListener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> CompletableFuture<CommandResult<T>>executeAsync(RemoteCommand<T> command)
-
-
-
Constructor Detail
-
AsyncBatchingExecutor
public AsyncBatchingExecutor(AsyncCommandExecutor originalExecutor, OptimizationListener listener)
-
-
Method Detail
-
executeAsync
public <T> CompletableFuture<CommandResult<T>> executeAsync(RemoteCommand<T> command)
- Specified by:
executeAsyncin interfaceAsyncCommandExecutor
-
-