Skip to content

Commit fdcaeab

Browse files
sagaxuvietj
authored andcommitted
Update the document
1 parent 1c9e2cd commit fdcaeab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vertx-core/src/main/java/io/vertx/core/dns/AddressResolverOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)