Package org.dataloader.reactive
Class ReactiveSupport
java.lang.Object
org.dataloader.reactive.ReactiveSupport
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Just some callbacks to the data loader code to do common tasks -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <K,
V> org.reactivestreams.Subscriber<V> batchSubscriber
(CompletableFuture<List<V>> valuesFuture, List<K> keys, List<Object> callContexts, List<CompletableFuture<V>> queuedFutures, ReactiveSupport.HelperIntegration<K> helperIntegration) static <K,
V> org.reactivestreams.Subscriber<Map.Entry<K, V>> mappedBatchSubscriber
(CompletableFuture<List<V>> valuesFuture, List<K> keys, List<Object> callContexts, List<CompletableFuture<V>> queuedFutures, ReactiveSupport.HelperIntegration<K> helperIntegration)
-
Constructor Details
-
ReactiveSupport
public ReactiveSupport()
-
-
Method Details
-
batchSubscriber
public static <K,V> org.reactivestreams.Subscriber<V> batchSubscriber(CompletableFuture<List<V>> valuesFuture, List<K> keys, List<Object> callContexts, List<CompletableFuture<V>> queuedFutures, ReactiveSupport.HelperIntegration<K> helperIntegration) -
mappedBatchSubscriber
public static <K,V> org.reactivestreams.Subscriber<Map.Entry<K,V>> mappedBatchSubscriber(CompletableFuture<List<V>> valuesFuture, List<K> keys, List<Object> callContexts, List<CompletableFuture<V>> queuedFutures, ReactiveSupport.HelperIntegration<K> helperIntegration)
-