public class RedisServer extends Object
| Constructor and Description |
|---|
RedisServer() |
RedisServer(int port) |
RedisServer(String version) |
RedisServer(String version,
int port) |
public RedisServer()
throws IOException,
URISyntaxException
IOExceptionURISyntaxExceptionpublic RedisServer(String version) throws IOException, URISyntaxException
IOExceptionURISyntaxExceptionpublic RedisServer(int port)
throws IOException,
URISyntaxException
IOExceptionURISyntaxExceptionpublic RedisServer(String version, int port) throws IOException, URISyntaxException
IOExceptionURISyntaxExceptionpublic int getPort()
public String getVersion()
public boolean isActive()
public void start()
throws IOException
IOExceptionpublic void stop()
throws InterruptedException
InterruptedExceptionCopyright © 2014. All rights reserved.