Modifier and Type | Method and Description |
---|---|
static <K,V> VertxBatchLoader<K,V> |
VertxBatchLoader.create(java.util.function.BiFunction<List<K>,org.dataloader.BatchLoaderEnvironment,Future<List<V>>> batchLoader)
Create a new batch loader that works well with
Future based APIs. |
static <K,V> VertxBatchLoader<K,V> |
VertxBatchLoader.create(java.util.function.BiFunction<List<K>,org.dataloader.BatchLoaderEnvironment,Future<List<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> VertxBatchLoader<K,V> |
VertxBatchLoader.create(TriConsumer<List<K>,org.dataloader.BatchLoaderEnvironment,Promise<List<V>>> batchLoader)
Create a new batch loader that works well with callback based APIs.
|
static <K,V> VertxBatchLoader<K,V> |
VertxBatchLoader.create(TriConsumer<List<K>,org.dataloader.BatchLoaderEnvironment,Promise<List<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 |
---|---|
VertxBatchLoader |
VertxBatchLoader.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static <K,V> VertxBatchLoader<K,V> |
VertxBatchLoader.newInstance(VertxBatchLoader arg) |
static <K,V> VertxBatchLoader<K,V> |
VertxBatchLoader.newInstance(VertxBatchLoader arg,
io.vertx.lang.rx.TypeArg<K> __typeArg_K,
io.vertx.lang.rx.TypeArg<V> __typeArg_V) |
Constructor and Description |
---|
VertxBatchLoader(VertxBatchLoader delegate) |
Modifier and Type | Method and Description |
---|---|
VertxBatchLoader |
VertxBatchLoader.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static <K,V> VertxBatchLoader<K,V> |
VertxBatchLoader.newInstance(VertxBatchLoader arg) |
static <K,V> VertxBatchLoader<K,V> |
VertxBatchLoader.newInstance(VertxBatchLoader arg,
io.vertx.lang.rx.TypeArg<K> __typeArg_K,
io.vertx.lang.rx.TypeArg<V> __typeArg_V) |
Constructor and Description |
---|
VertxBatchLoader(VertxBatchLoader delegate) |
Modifier and Type | Method and Description |
---|---|
VertxBatchLoader |
VertxBatchLoader.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static <K,V> VertxBatchLoader<K,V> |
VertxBatchLoader.newInstance(VertxBatchLoader arg) |
static <K,V> VertxBatchLoader<K,V> |
VertxBatchLoader.newInstance(VertxBatchLoader arg,
io.vertx.lang.rx.TypeArg<K> __typeArg_K,
io.vertx.lang.rx.TypeArg<V> __typeArg_V) |
Constructor and Description |
---|
VertxBatchLoader(VertxBatchLoader delegate) |
Copyright © 2021 Eclipse. All rights reserved.