public class InMemoryRedisContext
extends org.junit.rules.ExternalResource
| Modifier and Type | Method and Description |
|---|---|
protected void |
after() |
protected void |
before() |
static InMemoryRedisContext |
create() |
static InMemoryRedisContext |
create(int port) |
redis.clients.jedis.JedisPool |
jedisPool() |
redis.clients.jedis.JedisPool |
jedisPool(redis.clients.jedis.JedisPoolConfig config) |
int |
port() |
ai.grakn.redismock.RedisServer |
server() |
public static InMemoryRedisContext create()
public static InMemoryRedisContext create(int port)
protected void before()
throws Throwable
before in class org.junit.rules.ExternalResourceThrowableprotected void after()
after in class org.junit.rules.ExternalResourcepublic ai.grakn.redismock.RedisServer server()
public redis.clients.jedis.JedisPool jedisPool()
public redis.clients.jedis.JedisPool jedisPool(redis.clients.jedis.JedisPoolConfig config)
public int port()
Copyright © 2018 Grakn Labs Ltd. All rights reserved.