Uses of Interface
com.google.genkit.core.middleware.MiddlewareCache
Packages that use MiddlewareCache
-
Uses of MiddlewareCache in com.google.genkit.core.middleware
Classes in com.google.genkit.core.middleware that implement MiddlewareCacheModifier and TypeClassDescriptionclassSimpleCache<V>SimpleCache is a thread-safe in-memory cache implementation for use with caching middleware.Methods in com.google.genkit.core.middleware with parameters of type MiddlewareCacheModifier and TypeMethodDescriptionstatic <I,O> Middleware <I, O> CommonMiddleware.cache(MiddlewareCache<O> cache, Function<I, String> keyExtractor) Creates a caching middleware that caches results based on a key.