ptupitsyn commented on a change in pull request #8206:
URL: https://github.com/apache/ignite/pull/8206#discussion_r487072864
##########
File path:
modules/core/src/main/java/org/apache/ignite/configuration/ClientConfiguration.java
##########
@@ -33,9 +36,16 @@
/** Serial version uid. */
private static final long serialVersionUID = 0L;
- /** @serial Server addresses. */
+ /**
+ * @serial Server addresses.
+ * @deprecated deprecated in favor of {@link #addrFinder}. Keep it due to
Serializable compatibility.
+ */
+ @Deprecated
private String[] addrs = null;
+ /** Server addresses finder. */
+ private transient Supplier<String[]> addrFinder;
Review comment:
I would prefer a dedicated interface - `ThinClientAddressFinder` or
something like this.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]