Skip to content

Commit

Permalink
Remove guava import (#1747)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrossetie authored May 5, 2024
1 parent dcedc31 commit 8fe0068
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import com.github.benmanes.caffeine.cache.Cache;
import com.github.benmanes.caffeine.cache.Caffeine;
import com.google.common.annotations.VisibleForTesting;
import io.vertx.core.Vertx;
import io.vertx.core.VertxException;
import io.vertx.core.VertxOptions;
Expand Down Expand Up @@ -70,7 +69,6 @@ private long nonExpiredEntryCount(Cache<String, Instant> stats) {
return stats.asMap().entrySet().stream().filter(e -> e.getValue().isAfter(now)).count();
}

@VisibleForTesting
void trackBlockedThread(BlockedThreadEvent bte) {
if (bte.duration() > bte.warningExceptionTime()) {
if (bte.thread().getName().startsWith("vert.x-worker-thread")) {
Expand Down

0 comments on commit 8fe0068

Please sign in to comment.