Package org.redisson.api
Class HostNatMapper
java.lang.Object
org.redisson.api.HostNatMapper
- All Implemented Interfaces:
NatMapper
Maps host of RedisURI object using map defined in
hostsMap
setting.- Author:
- Nikita Koksharov
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
HostNatMapper
public HostNatMapper()
-
-
Method Details
-
map
Description copied from interface:NatMapper
Applies map function to inputuri
object -
setHostsMap
Defines hosts mapping. Host as key mapped to host as value.- Parameters:
hostsMap
- - hosts map
-