Skip to content

Latest commit

 

History

History
49 lines (41 loc) · 2 KB

README.md

File metadata and controls

49 lines (41 loc) · 2 KB

LocalCache for Java

Build License Maven Central Percentage of issues still open

Overview

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 中文说明.

Features

  • 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)

Requirements

Compile requirement: JDK 8+ and Maven 3.2.5+ .

Getting started

There's a README file under cache-samples directory. We recommend referencing the sample in that directory by following the below-mentioned instructions:

Maven dependency

<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>

License

LocalCache is licensed under the Apache License 2.0.