File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
vertx-core/src/main/java/io/vertx/core/dns Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -235,14 +235,14 @@ public AddressResolverOptions setHostsRefreshPeriodUnit(TimeUnit hostsRefreshPer
235235 }
236236
237237 /**
238- * @return the hosts configuration refresh period in nanos
238+ * @return the hosts configuration refresh period in time unit specified by {@link #getHostsRefreshPeriodUnit()}.
239239 */
240240 public int getHostsRefreshPeriod () {
241241 return hostsRefreshPeriod ;
242242 }
243243
244244 /**
245- * Set the hosts configuration refresh period in nanos , {@code 0} disables it.
245+ * Set the hosts configuration refresh period in time unit specified by {@link #getHostsRefreshPeriodUnit()} , {@code 0} disables it.
246246 * <p/>
247247 * The resolver caches the hosts configuration {@link #hostsPath file} after it has read it. When
248248 * the content of this file can change, setting a positive refresh period will load the configuration
You can’t perform that action at this time.
0 commit comments