Package org.redisson.api
Interface NatMapper
- All Known Implementing Classes:
DefaultNatMapper,HostNatMapper,HostPortNatMapper
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Maps RedisURI object. Allows to change input RedisURI's port and host values.
- See Also:
-
Method Summary
-
Method Details
-
map
org.redisson.misc.RedisURI map(org.redisson.misc.RedisURI uri) Applies map function to inputuriobject- Parameters:
uri- - RedisURI object- Returns:
- mapped RedisURI object
-
direct
Returns input RedisURI object. Used by default- Returns:
- NatMapper instance what returns input RedisURI object
-