Skip to content

xetorthio/jedisque

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published