Class LookupServicePartition<K,V>
java.lang.Object
org.aksw.commons.rx.lookup.LookupServicePartition<K,V>
- All Implemented Interfaces:
Function<Iterable<K>, io.reactivex.rxjava3.core.Flowable<Map.Entry<K,V>>>, LookupService<K, V>
-
Constructor Summary
ConstructorsConstructorDescriptionLookupServicePartition(LookupService<K, V> base, int partitionSize) LookupServicePartition(LookupService<K, V> base, int partitionSize, int nThreads) -
Method Summary
Modifier and TypeMethodDescriptionstatic <K,V> LookupServicePartition <K, V> create(LookupService<K, V> base, int partitionSize) static <K,V> LookupServicePartition <K, V> create(LookupService<K, V> base, int partitionSize, int nThreads) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface LookupService
cache, cache, defaultForAbsentKeys, fetchItem, fetchList, fetchMap, fetchMap, filterKeys, mapKeys, mapNonNullValues, mapNonNullValues, mapValues, mapValues, partition, requestList, requestMap
-
Constructor Details
-
LookupServicePartition
-
LookupServicePartition
-
-
Method Details
-
apply
-
create
-
create
public static <K,V> LookupServicePartition<K,V> create(LookupService<K, V> base, int partitionSize, int nThreads)
-