public class RedisServer extends Object
| 构造器和说明 |
|---|
RedisServer() |
RedisServer(int port) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 © 2016. All rights reserved.