Added documentation

Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
This commit is contained in:
Emmanuel Bigeon 2018-11-30 21:30:13 -05:00
parent 09e9c69fe0
commit 1fa1f168c8

View File

@ -186,6 +186,10 @@ public final class ReadingRunnable implements Runnable {
}
}
/** Wait for a message to be delivered.
*
* @param message the message
* @throws InterruptedException if the wait was interrupted */
public void waitForDelivery(final String message) throws InterruptedException {
Object mLock;
synchronized (messageBlockerLock) {