Interface CachingVersionedGenericLayerReader<T>
- All Superinterfaces:
VersionedGenericLayerReader<T>
- All Known Implementing Classes:
JavaScalaConverters.AsJavaCachingVersionedGenericLayerReader
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Downloads the data for the requested versions of the given partitionIds and puts it into the cache for later retrieval.Downloads the data for the requested versions of the given partitionIds and puts it into the cache for later retrieval.Methods inherited from interface com.here.platform.data.client.v2.api.javadsl.versioned.VersionedGenericLayerReader
read
-
Method Details
-
preload
Downloads the data for the requested versions of the given partitionIds and puts it into the cache for later retrieval.If the data does not fit into the cache completely, this might evict entries from the cache.
-
preloadAsync
CompletionStage<Void> preloadAsync(Iterable<Long> versions, Iterable<String> partitionIds, Executor executor) Downloads the data for the requested versions of the given partitionIds and puts it into the cache for later retrieval.If the data does not fit into the cache completely, this might evict entries from the cache.
Please note that using a work stealing thread pool might lead to starvation.
-