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