You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Micrometer provides convenient bindings for Cache, LoadingCache, and AsyncLoadingCache. AsyncCache was recently split off from AsyncLoadingCache based on integrations where the mapping function isn't provided up front (e.g. Akka's http cache) or for those who need to capture non-key parameters in the given lambda. These behaviors were supported by AsyncLoadingCache but a little clunky.
I believe all that is required is changing CaffeineCacheMetrics from
Micrometer provides convenient bindings for
Cache
,LoadingCache
, andAsyncLoadingCache
.AsyncCache
was recently split off fromAsyncLoadingCache
based on integrations where the mapping function isn't provided up front (e.g. Akka's http cache) or for those who need to capture non-key parameters in the given lambda. These behaviors were supported byAsyncLoadingCache
but a little clunky.I believe all that is required is changing
CaffeineCacheMetrics
fromto
Due to the library maintaining strict semver, it should be safe to upgrade the required version clients use.
The text was updated successfully, but these errors were encountered: