Added documentation
Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
This commit is contained in:
parent
09e9c69fe0
commit
1fa1f168c8
@ -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 {
|
public void waitForDelivery(final String message) throws InterruptedException {
|
||||||
Object mLock;
|
Object mLock;
|
||||||
synchronized (messageBlockerLock) {
|
synchronized (messageBlockerLock) {
|
||||||
|
Loading…
Reference in New Issue
Block a user