public static interface RedisConfiguration.WithHostAndPort
RedisConfiguration
part suitable for configurations that use host/port combinations for connecting.Modifier and Type | Method and Description |
---|---|
String |
getHostName() |
int |
getPort()
Get the Redis server port.
|
void |
setHostName(String hostName)
Set the Redis server hostname
|
void |
setPort(int port)
Set the Redis server port.
|
void setHostName(String hostName)
hostName
- must not be null.String getHostName()
void setPort(int port)
port
- int getPort()
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.