Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/knotx/knotx-commons
Simple util classes that do not depend on Knot.x modules.
https://github.com/knotx/knotx-commons
Last synced: about 2 months ago
JSON representation
Simple util classes that do not depend on Knot.x modules.
- Host: GitHub
- URL: https://github.com/knotx/knotx-commons
- Owner: Knotx
- License: apache-2.0
- Created: 2019-05-08T07:44:06.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-03-16T07:36:55.000Z (10 months ago)
- Last Synced: 2024-03-21T20:39:45.435Z (10 months ago)
- Language: Java
- Homepage: https://knotx.io
- Size: 231 KB
- Stars: 0
- Watchers: 9
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[![Build Status](https://dev.azure.com/knotx/Knotx/_apis/build/status/Knotx.knotx-commons?branchName=master)](https://dev.azure.com/knotx/Knotx/_build/latest?definitionId=5&branchName=master)
[![CodeFactor](https://www.codefactor.io/repository/github/knotx/knotx-commons/badge)](https://www.codefactor.io/repository/github/knotx/knotx-commons)
[![codecov](https://codecov.io/gh/Knotx/knotx-commons/branch/master/graph/badge.svg)](https://codecov.io/gh/Knotx/knotx-commons)
[![Gradle Status](https://gradleupdate.appspot.com/Knotx/knotx-commons/status.svg)](https://gradleupdate.appspot.com/Knotx/knotx-commons/status)# Knot.x Commons
Knot.x Commons contains support classes (utils, helpers, etc.). This module can be used via Knot.x API modules so
all dependencies to Knot.x modules are not allowed.## Cache
`Cache` and `CacheFactory` interfaces can provide Knot.x with various cache implementations (e.g. in-memory, Redis, Elasticache etc.).
These implementations - when configured correctly for Service Provider Inteface - can then be used by `CacheActionFactory` in [Knot.x Fragments](https://github.com/Knotx/knotx-fragments).
The desired implementation is selected using `getType()` method from `CacheFactory` interface. For reference see `CacheFactory`'s Javadoc.Currently, Knot.x provides `in-memory` Cache implementation, based on Google Guava cache.