RJC

Redis Java client

License

License

Categories

Categories

IDE Development Tools
GroupId

GroupId

org.idevlab
ArtifactId

ArtifactId

rjc
Last Version

Last Version

0.7
Release Date

Release Date

Type

Type

bundle
Description

Description

RJC
Redis Java client
Source Code Management

Source Code Management

http://github.com/e-mzungu/rjc

Download rjc

Dependencies

compile (2)

Group / Artifact Type Version
commons-pool : commons-pool jar 1.5.6
org.slf4j : slf4j-api jar 1.6.1

test (2)

Group / Artifact Type Version
junit : junit jar 4.8.1
org.easymock : easymock jar 3.0

Project Modules

There are no modules declared in this project.

RJC

RJC is a Redis Java Client.

It provides connection pooling in Apache DBCP style, sharding, pipelines, transactions and messages.

It's aimed to work in multi threading environments.

RJC is fully compatible with Redis 2.x.

OSGi ready (thanks iocanel).

See code examples in the project wiki page.

How to use it with Maven

Include maven dependency to you project

    <dependency>
        <groupId>org.idevlab</groupId>
        <artifactId>rjc</artifactId>
        <version>0.7</version>
    </dependency>

Quick start

Install RJC as described above.

Run Redis.

Perform:

    DataSource dataSource = new SimpleDataSource("localhost");
    SingleRedisOperations redis = new RedisNode(dataSource);
    redis.set("foo", "hello");
    String value = redis.get("foo");

See more examples here.

Versions

Version
0.7
0.6.4
0.6.3
0.6.2
0.6.1