Introduction to JetCache
masterJetCache is a Java cache abstraction that provides a uniform API for various caching solutions, including RedisCache, TairCache, CaffeineCache (in-memory), and LinkedHashMapCache (in-memory).
Key features include:
- Declarative method caching via annotations with TTL and two-level caching support.
- Manual cache manipulation using the
CacheAPI. - Support for distributed cache auto-refresh and distributed locks.
- Customization of key generation and value serialization (supports
fastjson2,jackson,jackson3for keys;java,kryo,kryo5for values). - Asynchronous access and local cache invalidation across JVM processes.