Skip to content

Commit

Permalink
Updated JavaDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
prat-man committed Nov 16, 2019
1 parent ed2bbd2 commit 3ac25ff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/tk/pratanumandal/unique4j/Unique.java
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,11 @@ public boolean freeLock() throws Unique4jException {
public abstract void receiveMessage(String message);

/**
* Method used in subsequent instances to send message to first instance.<br>
* Method used in subsequent instances to send message to first instance.<br><br>
*
* It is not recommended to perform blocking (long running) tasks here. Use <code>beforeExit()</code> method instead.<br>
* One exception to this rule is if you intend to perform some user interaction before sending the message.<br><br>
*
* This method is not synchronized.
*
* @return message sent from subsequent instances
Expand Down

0 comments on commit 3ac25ff

Please sign in to comment.