public class RedisServer extends Object
| Constructor and Description |
|---|
RedisServer() |
RedisServer(int port) |
| Modifier and Type | Method and Description |
|---|---|
RedisBase |
getBase() |
int |
getBindPort() |
String |
getHost() |
static RedisServer |
newRedisServer() |
static RedisServer |
newRedisServer(int port) |
void |
setOptions(ServiceOptions options) |
void |
setSlave(RedisServer slave) |
void |
start() |
void |
stop() |
public RedisServer()
throws IOException
IOExceptionpublic RedisServer(int port)
throws IOException
IOExceptionpublic static RedisServer newRedisServer() throws IOException
IOExceptionpublic static RedisServer newRedisServer(int port) throws IOException
IOExceptionpublic void setOptions(ServiceOptions options)
public void start()
throws IOException
IOExceptionpublic void stop()
public String getHost()
public int getBindPort()
public RedisBase getBase()
public void setSlave(RedisServer slave)
Copyright © 2018. All rights reserved.