Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
org.rarefiedredis.redis:redis-java
Advanced tools
An in-memory redis-compatible implementation written in pure Java
An in-memory redis-compatible implementation written in pure Java. Part of the Rarefied Redis Project.
<dependency>
<groupId>org.rarefiedredis.redis</groupId>
<artifactId>redis-java</artifactId>
<version>0.0.5</version>
</dependency>
TODO
The RedisMock
object is itself completely thread-safe. Every command is synchronized
on
the object, so the internal data structures can never run into concurrent modifications.
Because of the way RedisMock
operates, we cannot, say, clone this object and maintain thread-safety.
If two RedisMock
objects were to share the same internal data structures, it would be possible
for a concurrent modification to occur between the two objects. Thus, clone
is unsupported on
RedisMock
.
The goal is to have one-to-one feature parity with all redis commands, so that this implementation can simply be dropped into an existing redis-backed codebase. Redis has a lot of commands! Some of them are easy, and some are quite complex.
Version 0.1.0 should have support for almost all redis commands, minus the hyperloglog commands and the key-movement commands, such as migrate.
To find out what commands a particular version of redis-java supports, run the following commands:
TODO
All contributions welcome! Issues or Pull Requests. For PRs, mvn test
must
succeed and test the new code before the PR will be considered.
This project uses maven.
To run the full test suite from source, issue the standard maven command:
$ mvn test
FAQs
An in-memory redis-compatible implementation written in pure Java
We found that org.rarefiedredis.redis:redis-java demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.