Class BlobCacheBuilder
java.lang.Object
com.here.platform.data.client.v2.caching.caffeine.javadsl.BlobCacheBuilder
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a BlobCacheBuilder from a configuration. -
Method Summary
Modifier and TypeMethodDescriptioncom.github.benmanes.caffeine.cache.Cache<LayerMetadata,
Object> build()
configure
(Function<com.github.benmanes.caffeine.cache.Caffeine<? super LayerMetadata, ? super Object>, com.github.benmanes.caffeine.cache.Caffeine<? super LayerMetadata, ? super Object>> f)
-
Constructor Details
-
BlobCacheBuilder
Creates a BlobCacheBuilder from a configuration.The builder sets the eviction policy of the underlying cache based on the provided configuration. On top of that also stats recording is enabled.
-
-
Method Details
-
build
-
configure
public BlobCacheBuilder configure(Function<com.github.benmanes.caffeine.cache.Caffeine<? super LayerMetadata, ? super Object>, com.github.benmanes.caffeine.cache.Caffeine<? super LayerMetadata, ? super Object>> f)
-