Fixed comment to use javadoc style
This commit is contained in:
parent
a34a4e8174
commit
3f7e9b265c
|
@ -71,11 +71,11 @@ private[spark] class SparkListenerBus() extends Logging {
|
|||
}
|
||||
}
|
||||
|
||||
/** Waits until there are no more events in the queue, or until the specified time has elapsed.
|
||||
*
|
||||
* Used for testing only. Returns true if the queue has emptied and false is the specified time
|
||||
* elapsed before the queue emptied.
|
||||
*/
|
||||
/**
|
||||
* Waits until there are no more events in the queue, or until the specified time has elapsed.
|
||||
* Used for testing only. Returns true if the queue has emptied and false is the specified time
|
||||
* elapsed before the queue emptied.
|
||||
*/
|
||||
def waitUntilEmpty(timeoutMillis: Int): Boolean = {
|
||||
val finishTime = System.currentTimeMillis + timeoutMillis
|
||||
while (!eventQueue.isEmpty()) {
|
||||
|
|
Loading…
Reference in a new issue