Package org.redisson.config
Interface CredentialsResolver
- All Known Implementing Classes:
DefaultCredentialsResolver
public interface CredentialsResolver
Credentials resolver object which is invoked during connection/reconnection process.
It makes possible to specify dynamically changing Redis credentials.
- Author:
- Nikita Koksharov
-
Method Summary
Modifier and TypeMethodDescriptionresolve
(InetSocketAddress address) Asynchronously resolves Credentials object for specified Redis nodeaddress
.
-
Method Details
-
resolve
Asynchronously resolves Credentials object for specified Redis nodeaddress
.- Parameters:
address
- address of Redis node- Returns:
- Credentials object
-