Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 416 Bytes

File metadata and controls

26 lines (22 loc) · 416 Bytes

MemoryDB Java CLI

Thread-safe in-memory key–value database built in Java with TTL support, background cleanup thread, and command-line interface.

Features

  • ConcurrentHashMap storage
  • TTL expiration
  • Background cleanup thread
  • Custom exceptions
  • Command parser
  • CLI interface

Run

Run Main.java in IntelliJ.

Commands

PUT key value ttl GET key DELETE key SIZE KEYS CLEAR STATUS CLEANUP HELP EXIT