From aed2398410790f550284c49f20b5c9808989e9ea Mon Sep 17 00:00:00 2001 From: Kerwin Bryant Date: Wed, 26 Oct 2022 08:25:02 +0800 Subject: [PATCH] Added dependency configuration in the usage Added dependency configuration in the usage --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index efcdb8c..5cb4d7c 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,21 @@ A high performance, low-overhead, zero dependency, thread-safe [ConcurrentMap](h Supports Java 6+ though the documentation uses lambdas for simplicity. +*Released `net.jodah:expiringmap:0.5.10`* + ## Usage +Add ExpiringMap dependency to your project: +```xml +# Maven + + net.jodah + expiringmap + 0.5.10 + + +# Gradle +implementation 'net.jodah:expiringmap:0.5.10' +``` ExpiringMap allows you to create a map that expires entries after a certain time period or when a maximum map size has been exceeded: