Redis Launcher

A Java library for controlling a redis server programmatically

License

License

Categories

Categories

Redis Data Databases
GroupId

GroupId

uk.co.datumedge
ArtifactId

ArtifactId

redis-launcher
Last Version

Last Version

0.3
Release Date

Release Date

Type

Type

jar
Description

Description

Redis Launcher
A Java library for controlling a redis server programmatically
Project URL

Project URL

https://github.com/hertzsprung/redis-launcher
Source Code Management

Source Code Management

http://github.com/hertzsprung/redis-launcher

Download redis-launcher

How to add to project

<!-- https://jarcasting.com/artifacts/uk.co.datumedge/redis-launcher/ -->
<dependency>
    <groupId>uk.co.datumedge</groupId>
    <artifactId>redis-launcher</artifactId>
    <version>0.3</version>
</dependency>
// https://jarcasting.com/artifacts/uk.co.datumedge/redis-launcher/
implementation 'uk.co.datumedge:redis-launcher:0.3'
// https://jarcasting.com/artifacts/uk.co.datumedge/redis-launcher/
implementation ("uk.co.datumedge:redis-launcher:0.3")
'uk.co.datumedge:redis-launcher:jar:0.3'
<dependency org="uk.co.datumedge" name="redis-launcher" rev="0.3">
  <artifact name="redis-launcher" type="jar" />
</dependency>
@Grapes(
@Grab(group='uk.co.datumedge', module='redis-launcher', version='0.3')
)
libraryDependencies += "uk.co.datumedge" % "redis-launcher" % "0.3"
[uk.co.datumedge/redis-launcher "0.3"]

Dependencies

compile (1)

Group / Artifact Type Version
org.apache.commons : commons-exec jar 1.1

test (8)

Group / Artifact Type Version
junit : junit-dep jar 4.10
org.hamcrest : hamcrest-core jar 1.2.1
org.hamcrest : hamcrest-library jar 1.2.1
org.jmock : jmock-junit4 jar 2.5.1
org.jmock : jmock-legacy jar 2.5.1
redis.clients : jedis jar 2.0.0
org.apache.commons : commons-io jar 1.3.2
com.google.guava : guava jar r09

Project Modules

There are no modules declared in this project.

Redis-launcher is a Java library for controlling a redis server programmatically. It is released under the MIT license.

Installation

Installing from Maven Central

<dependency>
	<groupId>uk.co.datumedge</groupId>
	<artifactId>redis-launcher</artifactId>
	<version>0.3</version>
</dependency>

Installing from source

mvn -Dredislauncher.command=/path/to/redis-server install

Getting started

The simplest way to start a redis server is to set the redislauncher.command system property as the path to the redis-server executable, then use the following code:

RedisServer redisServer = LocalRedisServer.newInstance();
try {
   redisServer.start();
   ...
} finally {
   redisServer.stop();
}

Resources

Versions

Version
0.3
0.2
0.1