Modifier and Type | Method and Description |
---|---|
static <K,V> VertxMappedBatchLoader<K,V> |
VertxMappedBatchLoader.create(java.util.function.BiFunction<Set<K>,org.dataloader.BatchLoaderEnvironment,Future<Map<K,V>>> batchLoader)
Create a new batch loader that works well with
Future based APIs. |
static <K,V> VertxMappedBatchLoader<K,V> |
VertxMappedBatchLoader.create(java.util.function.BiFunction<Set<K>,org.dataloader.BatchLoaderEnvironment,Future<Map<K,V>>> batchLoader,
java.util.function.Function<org.dataloader.BatchLoaderEnvironment,Context> contextProvider)
Like
create(BiFunction) , except the method uses the provided contextProvider instead of capturing the current one. |
static <K,V> VertxMappedBatchLoader<K,V> |
VertxMappedBatchLoader.create(TriConsumer<Set<K>,org.dataloader.BatchLoaderEnvironment,Promise<Map<K,V>>> batchLoader)
Create a new batch loader that works well with callback based APIs.
|
static <K,V> VertxMappedBatchLoader<K,V> |
VertxMappedBatchLoader.create(TriConsumer<Set<K>,org.dataloader.BatchLoaderEnvironment,Promise<Map<K,V>>> batchLoader,
java.util.function.Function<org.dataloader.BatchLoaderEnvironment,Context> contextProvider)
Like
create(TriConsumer) , except the method uses the provided contextProvider instead of capturing the current one. |
Modifier and Type | Method and Description |
---|---|
VertxMappedBatchLoader |
VertxMappedBatchLoader.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static <K,V> VertxMappedBatchLoader<K,V> |
VertxMappedBatchLoader.newInstance(VertxMappedBatchLoader arg) |
static <K,V> VertxMappedBatchLoader<K,V> |
VertxMappedBatchLoader.newInstance(VertxMappedBatchLoader arg,
io.vertx.lang.rx.TypeArg<K> __typeArg_K,
io.vertx.lang.rx.TypeArg<V> __typeArg_V) |
Constructor and Description |
---|
VertxMappedBatchLoader(VertxMappedBatchLoader delegate) |
Modifier and Type | Method and Description |
---|---|
VertxMappedBatchLoader |
VertxMappedBatchLoader.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static <K,V> VertxMappedBatchLoader<K,V> |
VertxMappedBatchLoader.newInstance(VertxMappedBatchLoader arg) |
static <K,V> VertxMappedBatchLoader<K,V> |
VertxMappedBatchLoader.newInstance(VertxMappedBatchLoader arg,
io.vertx.lang.rx.TypeArg<K> __typeArg_K,
io.vertx.lang.rx.TypeArg<V> __typeArg_V) |
Constructor and Description |
---|
VertxMappedBatchLoader(VertxMappedBatchLoader delegate) |
Copyright © 2021 Eclipse. All rights reserved.