Local cache for Java applications, enhance response speed. The underlying depends on Guava, Caffeine, OHC, etc., contains in heap and off heap support.
To view 中文说明.
- Support for in-heap caching, such as: guava, caffeine.
- Support for off-heap caching, such as: ohc.
- Support for automatic synchronization of cached data. (Synchronized secret key mode)
Compile requirement: JDK 8+ and Maven 3.2.5+ .
There's a README file under cache-samples directory. We recommend referencing the sample in that directory by following the below-mentioned instructions:
<properties>
<localCache.version>0.1.0</localCache.version>
</properties>
<dependencies>
<dependency>
<groupId>io.meshware.cache</groupId>
<artifactId>cache-ihc</artifactId>
<version>${localCache.version}</version>
</dependency>
<dependency>
<groupId>io.meshware.cache</groupId>
<artifactId>cache-ohc</artifactId>
<version>${localCache.version}</version>
</dependency>
<dependency>
<groupId>io.meshware.cache</groupId>
<artifactId>cache-redis</artifactId>
<version>${localCache.version}</version>
</dependency>
</dependencies>
LocalCache is licensed under the Apache License 2.0.