Ross ROSS = Recommend OSS · open-source software intelligence for agents

jhalterman/expiringmap

A high performance thread-safe map that expires entries observed · 2026-08-28

github.com/jhalterman/expiringmap · Java · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

34/100

  • Activity 3
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 5794
  • days_rel: n/a
  • days_push: 585
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1036 stars · 148 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

ExpiringMap is a high-performance, zero-dependency, thread-safe Java ConcurrentMap implementation whose entries expire automatically. It supports variable per-entry expiration, expiration policies, max-size eviction, expiration listeners, and lazy loading.

Use cases

  • cache session data with automatic expiry in java
  • store connections in a map that expire after 30 seconds
  • evict oldest entries when map reaches max size
  • run a callback when a cached entry expires
  • give each map entry its own ttl
  • replace guava cache with a lightweight expiring map

When to choose

  • you need a simple, zero-dependency expiring map on the JVM
  • you need per-entry variable TTLs or expiration policies
  • you want expiration listeners or lazy entry loading without a full caching framework

When to avoid

  • you need advanced caching features like LRU eviction, statistics, or persistence - use Caffeine or Guava Cache
  • you need a distributed or multi-process cache
  • you are not on the JVM

Facets

library · maturity stable

caching concurrency data-science developer-tools backend performance jvm expiring-map concurrentmap ttl cache zero-dependency thread-safe

1 source

Member repositories

RepositoryRoleHealth v2
jhalterman/expiringmapmain34

For agents

markdown · JSON · MCP: product_card(name="jhalterman/expiringmap")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem