public class Config extends Object implements Serializable
ConfigBuilder,
Serialized Form| Constructor and Description |
|---|
Config(String host,
int port,
int timeout,
String password,
String namespace,
int database)
Using a ConfigBuilder is recommended...
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getDatabase() |
String |
getHost() |
String |
getNamespace() |
String |
getPassword() |
int |
getPort() |
int |
getTimeout() |
String |
getURI() |
int |
hashCode() |
String |
toString() |
public Config(String host, int port, int timeout, String password, String namespace, int database)
host - the Reds hostnameport - the Redis port numbertimeout - the Redis connection timeoutnamespace - the Redis namespace to prefix keys withdatabase - the Redis database to useConfigBuilderpublic String getHost()
public int getPort()
public int getTimeout()
public String getPassword()
public String getNamespace()
public int getDatabase()
public String getURI()
Copyright © 2011-2013. All Rights Reserved.