size()
0
live
0
expired-but-present
0
leaked
0
// press
➕ SET
to write a key, then
⏩ +2s
to move the clock
the map · click a row to GET it
expiresAt is an instant, ttl is derived
key
value
expiresAt
ttl
status
virtual clock
t = 0s
memory
0 / 96
maxMemory
8 keys
hits
0
misses
0
gone · lazy
0
gone · sweeper
0
evicted (space)
0
A store, and a clock you control
Press
➕ SET
a few times, then
⏩ +2s
until a key's ttl reaches zero — and watch what
size()
does
(nothing)
.
➕ SET
↺ Reset
⏩ +2s
🧹 Sweep
😴 Cold key
🔒 SET no-TTL
📉 Fill memory
▸
A struck-through row is still in the map. Click it.