public class RedisServerDescriptor extends RedisPoolDescriptor
Modifier and Type | Field and Description |
---|---|
RedisHostDescriptor[] |
hosts |
database, password, timeout
Constructor and Description |
---|
RedisServerDescriptor() |
Modifier and Type | Method and Description |
---|---|
RedisExecutor |
newExecutor() |
RedisHostDescriptor |
selectHost() |
void |
setHost(int port) |
void |
setHost(String name) |
setPassword
public RedisHostDescriptor[] hosts
public void setHost(String name)
public void setHost(int port)
public RedisHostDescriptor selectHost()
public RedisExecutor newExecutor()
Copyright © 2015 Nuxeo SA. All rights reserved.