{"id":33179584,"url":"https://github.com/cache2k/cache2k","last_synced_at":"2025-12-17T16:52:28.513Z","repository":{"id":12618405,"uuid":"15289581","full_name":"cache2k/cache2k","owner":"cache2k","description":"Lightweight, high performance Java caching","archived":false,"fork":false,"pushed_at":"2025-07-22T12:34:48.000Z","size":10448,"stargazers_count":735,"open_issues_count":17,"forks_count":75,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-07-22T14:37:28.952Z","etag":null,"topics":["android","android-library","cache","java","java-library"],"latest_commit_sha":null,"homepage":"http://cache2k.org","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cache2k.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"cache2k"}},"created_at":"2013-12-18T17:25:04.000Z","updated_at":"2025-07-06T19:31:32.000Z","dependencies_parsed_at":"2024-06-19T16:24:19.711Z","dependency_job_id":"891fba40-0dd4-4009-8007-88af4f7b7737","html_url":"https://github.com/cache2k/cache2k","commit_stats":null,"previous_names":["headissue/cache2k"],"tags_count":67,"template":false,"template_full_name":null,"purl":"pkg:github/cache2k/cache2k","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cache2k%2Fcache2k","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cache2k%2Fcache2k/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cache2k%2Fcache2k/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cache2k%2Fcache2k/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cache2k","download_url":"https://codeload.github.com/cache2k/cache2k/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cache2k%2Fcache2k/sbom","scorecard":{"id":261429,"data":{"date":"2025-08-11","repo":{"name":"github.com/cache2k/cache2k","commit":"6cf589ea28c02ba0b49dac2b38e849238053f1bf"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 1/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: test-android-gradle/gradle/wrapper/gradle-wrapper.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'","Warn: branch protection not enabled for branch 'service-1.4'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T10:55:31.154Z","repository_id":12618405,"created_at":"2025-08-17T10:55:31.154Z","updated_at":"2025-08-17T10:55:31.154Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27784838,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-17T02:00:08.291Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-library","cache","java","java-library"],"created_at":"2025-11-16T03:00:36.838Z","updated_at":"2025-12-17T16:52:28.502Z","avatar_url":"https://github.com/cache2k.png","language":"Java","readme":"[![License](https://x.h7e.eu/badges/txt/license/apache)](https://www.apache.org/licenses/LICENSE-2.0.html)\n[![Stack Overflow](https://x.h7e.eu/badges/txt/stackoverflow/cache2k)](https://stackoverflow.com/questions/tagged/cache2k)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.cache2k/cache2k-core/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.cache2k/cache2k-core)\n[![CircleCI](https://circleci.com/gh/cache2k/cache2k/tree/master.svg?style=shield)](https://circleci.com/gh/cache2k/cache2k/tree/master)\n\n# cache2k Java Caching\n\ncache2k is an in-memory high performance Java Caching library.\n\n````java\n  Cache\u003cString,String\u003e cache = new Cache2kBuilder\u003cString, String\u003e() {}\n    .expireAfterWrite(5, TimeUnit.MINUTES)    // expire/refresh after 5 minutes\n    .setupWith(UniversalResiliencePolicy::enable, b -\u003e b // enable resilience policy\n      .resilienceDuration(30, TimeUnit.SECONDS)          // cope with at most 30 seconds\n                                                         // outage before propagating \n                                                         // exceptions\n    )\n    .refreshAhead(true)                       // keep fresh when expiring\n    .loader(this::expensiveOperation)         // auto populating function\n    .build();\n\n````\n\nFor a detailed introduction continue with [Getting Started](https://cache2k.org/docs/latest/user-guide.html#getting-started).\n\n## Features at a glance\n\n * Small jar file (less than 400k) with no external dependencies\n * Fastest access times, due to non blocking and wait free access of cached values, [Blog article](https://cruftex.net/2017/09/01/Java-Caching-Benchmarks-Part-3.html)\n * Pure Java code, no use of `sun.misc.Unsafe`\n * Thread safe, with a complete set of [atomic operations](https://cache2k.org/docs/latest/user-guide.html#atomic-operations)\n * [Resilience and smart exception handling](https://cache2k.org/docs/latest/user-guide.html#resilience) \n * Null value support, see [User Guide - Null Values](https://cache2k.org/docs/latest/user-guide.html#null-values)\n * Automatic [Expiry and Refresh](https://cache2k.org/docs/latest/user-guide.html#expiry-and-refresh): duration or point in time, variable expiry per entry, delta calculations\n * CacheLoader with blocking read through, see [User Guide - Loading and Read Through](https://cache2k.org/docs/latest/user-guide.html#loading-read-through)\n * CacheWriter\n * [Event listeners](https://cache2k.org/docs/latest/user-guide.html#event-listeners)\n * [Refresh ahead](https://cache2k.org/docs/latest/user-guide.html#refresh-ahead) reduces latency\n * [Low Overhead Statistics](https://cache2k.org/docs/latest/user-guide.html#statistics) and JMX support\n * [Separate API](https://cache2k.org/docs/latest/apidocs/cache2k-api/index.html) with stable and concise interface\n * [complete JCache / JSR107 support](https://cache2k.org/docs/latest/user-guide.html#jcache)\n * [XML based configuration](https://cache2k.org/docs/latest/user-guide.html#xml-configuration), to separate cache tuning from logic\n\n## Integrations\n\n * [Spring Framework](https://cache2k.org/docs/latest/user-guide.html#spring)\n * [Scala Cache](https://github.com/cb372/scalacache)\n * Datanucleus (via JCache)\n * Hibernate (via JCache)\n\n## More...\n\nFor more documentation and latest news, see the [cache2k homepage](https://cache2k.org).\n\n## Contributing\n\nSee the [Contributor Guide](CONTRIBUTING.md).\n","funding_links":["https://github.com/sponsors/cache2k"],"categories":["缓存库","\u003ca name=\"Java\"\u003e\u003c/a\u003eJava"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcache2k%2Fcache2k","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcache2k%2Fcache2k","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcache2k%2Fcache2k/lists"}