public class VertxBatchLoader<K,V> extends Object implements org.dataloader.BatchLoaderWithContext<K,V>
BatchLoaderWithContext that works well with Vert.x callback-based APIs.| Constructor and Description |
|---|
VertxBatchLoader(TriConsumer<List<K>,org.dataloader.BatchLoaderEnvironment,Promise<List<V>>> batchLoader)
Create a new batch loader.
|
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<List<V>> |
load(List<K> keys,
org.dataloader.BatchLoaderEnvironment environment) |
public VertxBatchLoader(TriConsumer<List<K>,org.dataloader.BatchLoaderEnvironment,Promise<List<V>>> batchLoader)
BatchLoaderEnvironmentCopyright © 2021 Eclipse. All rights reserved.