# expiring-map-example **Repository Path**: SoulBGM/expiring-map-example ## Basic Information - **Project Name**: expiring-map-example - **Description**: ExpiringMap的使用例子 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-02-17 - **Last Updated**: 2024-01-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: 过期Map ## README # expiring-map-example ### 介绍 #### ExpiringMap 功能介绍 1. 可以设置元素在一段时候后自动过期 2. 可设置map最大容纳值,当元素达到最大值后,再次插入值会导致第一个值过期 3. 可以添加监听事件,在监听到元素过期时调用监听函数 4. 可以设置懒加载,在调用get方法时创建对象 #### Maven地址 ``` net.jodah expiringmap 0.5.10 ```