Skip to content
프로젝트

cache2k/cache2k has 745 GitHub stars and 79 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-21 01:43 UTC. Last push 2025-07-22.

이 수치를 측정하는 방법

What you can do

  • Small jar file (less than 400k) with no external dependencies
  • Fastest access times, due to non blocking and wait free access of cached values, Blog article
  • Pure Java code, no use of sun.misc.Unsafe
  • Thread safe, with a complete set of atomic operations

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
기록 수집 중
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

소개

Lightweight, high performance Java caching

개발 도구

README.md

Original

License Stack Overflow Maven Central CircleCI

cache2k Java Caching

cache2k is an in-memory high performance Java Caching library.

  Cache<String,String> cache = new Cache2kBuilder<String, String>() {}
    .expireAfterWrite(5, TimeUnit.MINUTES)    // expire/refresh after 5 minutes
    .setupWith(UniversalResiliencePolicy::enable, b -> b // enable resilience policy
      .resilienceDuration(30, TimeUnit.SECONDS)          // cope with at most 30 seconds
                                                         // outage before propagating 
                                                         // exceptions
    )
    .refreshAhead(true)                       // keep fresh when expiring
    .loader(this::expensiveOperation)         // auto populating function
    .build();

For a detailed introduction continue with Getting Started.

Features at a glance

Integrations

More...

For more documentation and latest news, see the cache2k homepage.

Contributing

See the Contributor Guide.