I have an issue in my project I want to keep data in my project and use it and update it several times.
After last update data is valid just for 30 seconds and after that it must to delete (Immediate removal is not mandatory).
performance and speed are very important and I don't have concurrency in data.
The solution can be a collection in java or cache in or out java standard(There is no limit to the solution).
Dose anybody have any suggestion for me?