Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Make all Job fields retrievable as byte[] Jun 1, 2015
.gitignore
LICENSE
Makefile
README.md Update README.md May 7, 2015
pom.xml [maven-release-plugin] prepare for next development iteration Jun 2, 2015

README.md

Jedisque

Jedisque is a minimal java client for Disque.

Jedisque uses Jedis as a redis client.

How do I use it?

To use it just:

<dependency>
    <groupId>com.github.xetorthio</groupId>
    <artifactId>jedisque</artifactId>
    <version>x.y.z</version>
    <type>jar</type>
    <scope>compile</scope>
</dependency>

Please replace x.y.z version with one of the available versions.

Jedisque q = new Jedisque(
			new URI("disque://192.168.0.1:7711"),
			new URI("disque://192.168.0.4:8822")
		);
String jobId = q.addJob("foo", "bar", 10000);
Jedisque q = new Jedisque(
			new URI("disque://192.168.0.1:7711"),
			new URI("disque://192.168.0.4:8822")
		);
List<Job> jobs = q.getJob("foo", "foo2");

For more usage examples check the tests.

And you are done!

You can’t perform that action at this time.