Skip to content

e-mzungu/rjc

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 

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.

About

Redis Java Client

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages