jhalterman / expiringmap

A high performance thread-safe map that expires entries
Apache License 2.0
1k stars 142 forks source link

Ability to Test Expiry #58

Open raybooysen opened 6 years ago

raybooysen commented 6 years ago

At the moment we cannot test expiry in Unit Tests without blocking. In Guava, you can pass in a custom ticker to control time, it would be nice to have something similar for the ExpiringMap