Skip to content

Commit

Permalink
Merge pull request eclipse-vertx#1696 from EmadAlblueshi/doc_time_unit
Browse files Browse the repository at this point in the history
Fixes time unit in doc
  • Loading branch information
vietj authored Nov 4, 2016
2 parents 64a1652 + 3fc3539 commit 17ecf4c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/main/java/io/vertx/core/DeploymentOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ public DeploymentOptions setWorkerPoolSize(int workerPoolSize) {
* This can be used to detect where the user is blocking a worker thread for too long. Although worker threads
* can be blocked longer than event loop threads, they shouldn't be blocked for long periods of time.
*
* @return The value of max worker execute time, in ms.
* @return The value of max worker execute time, in ns.
*/
public long getMaxWorkerExecuteTime() {
return maxWorkerExecuteTime;
Expand All @@ -346,7 +346,7 @@ public long getMaxWorkerExecuteTime() {
/**
* Sets the value of max worker execute time, in ns.
*
* @param maxWorkerExecuteTime the value of max worker execute time, in ms.
* @param maxWorkerExecuteTime the value of max worker execute time, in ns.
* @return a reference to this, so the API can be used fluently
*/
public DeploymentOptions setMaxWorkerExecuteTime(long maxWorkerExecuteTime) {
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/io/vertx/core/VertxOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ public VertxOptions setBlockedThreadCheckInterval(long blockedThreadCheckInterva
* This can be used to detect where the user is blocking an event loop thread, contrary to the Golden Rule of the
* holy Event Loop.
*
* @return the value of max event loop execute time, in ms.
* @return the value of max event loop execute time, in ns.
*/
public long getMaxEventLoopExecuteTime() {
return maxEventLoopExecuteTime;
Expand All @@ -413,7 +413,7 @@ public long getMaxEventLoopExecuteTime() {
/**
* Sets the value of max event loop execute time, in ns.
*
* @param maxEventLoopExecuteTime the value of max event loop execute time, in ms.
* @param maxEventLoopExecuteTime the value of max event loop execute time, in ns.
* @return a reference to this, so the API can be used fluently
*/
public VertxOptions setMaxEventLoopExecuteTime(long maxEventLoopExecuteTime) {
Expand All @@ -432,7 +432,7 @@ public VertxOptions setMaxEventLoopExecuteTime(long maxEventLoopExecuteTime) {
* This can be used to detect where the user is blocking a worker thread for too long. Although worker threads
* can be blocked longer than event loop threads, they shouldn't be blocked for long periods of time.
*
* @return The value of max worker execute time, in ms.
* @return The value of max worker execute time, in ns.
*/
public long getMaxWorkerExecuteTime() {
return maxWorkerExecuteTime;
Expand All @@ -441,7 +441,7 @@ public long getMaxWorkerExecuteTime() {
/**
* Sets the value of max worker execute time, in ns.
*
* @param maxWorkerExecuteTime the value of max worker execute time, in ms.
* @param maxWorkerExecuteTime the value of max worker execute time, in ns.
* @return a reference to this, so the API can be used fluently
*/
public VertxOptions setMaxWorkerExecuteTime(long maxWorkerExecuteTime) {
Expand Down

0 comments on commit 17ecf4c

Please sign in to comment.