Skip to content

Commit

Permalink
improving javadocs
Browse files Browse the repository at this point in the history
Signed-off-by: Alfredo Gutierrez <[email protected]>
  • Loading branch information
AlfredoG87 committed Sep 19, 2024
1 parent d6a1969 commit 34060ac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ private BlockStreamSimulator() {}
*
* @param args the arguments to be passed to the block stream simulator
* @throws IOException if an I/O error occurs
* @throws InterruptedException if the thread is interrupted
*/
public static void main(String[] args) throws IOException, InterruptedException {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,11 @@ public BlockStreamSimulatorApp(
delayBetweenBlockItems = blockStreamConfig.delayBetweenBlockItems();
}

/** Starts the block stream simulator. */
/**
* Starts the block stream simulator.
*
* @throws InterruptedException if the thread is interrupted
*/
public void start() throws InterruptedException {
int delayMSBetweenBlockItems = delayBetweenBlockItems / 1_000_000;
int delayNSBetweenBlockItems = delayBetweenBlockItems % 1_000_000;
Expand Down

0 comments on commit 34060ac

Please sign in to comment.