Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
yito88 committed Jul 13, 2020
1 parent febd709 commit 1abce12
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ public final void execute() {
* Execute an operation. This method is invoked repeatedly in {@link #execute()} by {@code
* num_operations}. If a failure which you don't want to record its latency happens, this method
* should throw an exception. The exception will be caught in {@link #execute()}.
*
* @throws Exception This exception will be caught in {@link #execute()}
*/
protected abstract void executeEach() throws Exception;
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ public final void execute() {
* Execute an operation. This method is invoked repeatedly in {@link #execute()} for {@code
* run_for_sec}. If a failure which you don't want to record its latency happens, this method
* should throw an exception. The exception will be caught in {@link #execute()}.
*
* @throws Exception This exception will be caught in {@link #execute()}
*/
protected abstract void executeEach() throws Exception;
}

0 comments on commit 1abce12

Please sign in to comment.