Package org.redisson.api
Class HostPortNatMapper
-
- org.redisson.api.HostPortNatMapper
-
-
Constructor Summary
Constructors Constructor Description HostPortNatMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RedisURI
map(RedisURI uri)
Applies map function to inputuri
objectvoid
<,> hostsPortMap)
Defines host and port mapping.
-
-
-
Method Detail
-
map
public RedisURI map(RedisURI uri)
Description copied from interface:NatMapper
Applies map function to inputuri
object
-
setHostsPortMap
public void setHostsPortMap(<,> hostsPortMap)
Defines host and port mapping. Host and port as key mapped to host and port as value. Allowed value format: "127.0.0.1:6379"- Parameters:
hostsPortMap
- - host and port map
-
-