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.
@FunctionalInterface public interface NatMapper
Maps RedisURI object. Allows to change input RedisURI's port and host values.- Author:
- Nikita Koksharov
- See Also:
HostNatMapper
,HostPortNatMapper
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static NatMapper
direct()
Returns input RedisURI object.RedisURI
map(RedisURI uri)
Applies map function to inputuri
object
-