The AutoLoadCache cache management solution is an efficient cache management solution based on AOP+Annotation and other technologies. It realizes the decoupling of cache and business logic, and adds asynchronous refresh and "use mechanism" to adapt to use in high concurrency environments. .
There are many caching technologies in use today, such as Redis, Memcache, EhCache, etc., and even ConcurrentHashMap or HashTable is used to implement caching. But when it comes to the use of cache, everyone has their own implementation method, most of which are directly bound to the business code. As the business changes, it is very troublesome to change the cache solution. Next, we will use AOP + Annotation to solve this problem, and use the automatic loading mechanism to achieve data "resident memory".