Skip to content

Commit

Permalink
Bump up caffeine dependencies (#549)
Browse files Browse the repository at this point in the history
Signed-off-by: Mariano Gonzalez <[email protected]>
  • Loading branch information
Mariano Gonzalez authored May 9, 2020
1 parent fe42313 commit b3b9790
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion simpleclient_caffeine/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<dependency>
<groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId>
<version>2.3.0</version>
<version>2.7.0</version>
</dependency>


Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package io.prometheus.client.cache.caffeine;

import com.github.benmanes.caffeine.cache.AsyncLoadingCache;
import com.github.benmanes.caffeine.cache.AsyncCache;
import com.github.benmanes.caffeine.cache.Cache;
import com.github.benmanes.caffeine.cache.LoadingCache;
import com.github.benmanes.caffeine.cache.stats.CacheStats;
Expand Down Expand Up @@ -72,7 +72,7 @@ public void addCache(String cacheName, Cache cache) {
* @param cacheName The name of the cache, will be the metrics label value
* @param cache The cache being monitored
*/
public void addCache(String cacheName, AsyncLoadingCache cache) {
public void addCache(String cacheName, AsyncCache cache) {
children.put(cacheName, cache.synchronous());
}

Expand Down

0 comments on commit b3b9790

Please sign in to comment.