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.
- Author:
- Nikita Koksharov
- See Also:
-
Method Summary
-
Method Details
-
map
Applies map function to inputuri
object- Parameters:
uri
- - RedisURI object- Returns:
- mapped RedisURI object
-
direct
Returns input RedisURI object. Used by default- Returns:
- NatMapper instance what returns input RedisURI object
-