Introduction - If you have any usage issues, please Google them yourself
LRU algorithm implementation Cache source code, can be used to support the system as a whole number of objects in a certain number of restrictions, at the same time, through the LRU algorithm to ensure that the use of high frequency of memory-resident object, as far as possible.
The algorithm can be used to support the J2EE system performance, but also can control the memory safe to use.