Skip to content

Commit

Permalink
Merge pull request Netflix#743 from mattrjacobs/update-timeout-javadoc
Browse files Browse the repository at this point in the history
Update timeout javadoc
  • Loading branch information
mattrjacobs committed Apr 6, 2015
2 parents 263bb0a + 51063b9 commit 750a72b
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,9 @@ public HystrixProperty<String> executionIsolationThreadPoolKeyOverride() {
}

/**
*
* @deprecated As of release 1.4.0, replaced by {@link #executionTimeoutInMilliseconds()}. Timeout is no longer specific to thread-isolation commands, so the thread-specific name is misleading.
*
* Time in milliseconds at which point the command will timeout and halt execution.
* <p>
* If {@link #executionIsolationThreadInterruptOnTimeout} == true and the command is thread-isolated, the executing thread will be interrupted.
Expand Down Expand Up @@ -670,7 +673,10 @@ public Setter withExecutionIsolationThreadInterruptOnTimeout(boolean value) {
return this;
}

@Deprecated //prefer {@link #withExecutionTimeoutInMilliseconds}
/**
* @deprecated As of 1.4.0, replaced with {@link #withExecutionTimeoutInMilliseconds(int)}. Timeouts are no longer applied only to thread-isolated commands, so a thread-specific name is misleading
*/
@Deprecated
public Setter withExecutionIsolationThreadTimeoutInMilliseconds(int value) {
this.executionTimeoutInMilliseconds = value;
return this;
Expand Down

0 comments on commit 750a72b

Please sign in to comment.