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)
BatchLoaderEnvironment
Copyright © 2023 Eclipse. All rights reserved.