public interface BspEvent
| Modifier and Type | Method and Description | 
|---|---|
void | 
reset()
Reset the permanent signal. 
 | 
void | 
signal()
The event occurred and the occurrence has been logged for future
 waiters. 
 | 
void | 
waitForTimeoutOrFail(long timeout)
Waits until timeout or fails with runtime exception. 
 | 
boolean | 
waitMsecs(int msecs)
Wait until the event occurred or waiting timed out. 
 | 
void reset()
void signal()
boolean waitMsecs(int msecs)
msecs - Milliseconds to wait until the event occurred. 0 indicates
        check immediately.  -1 indicates wait forever.void waitForTimeoutOrFail(long timeout)
timeout - Throws exception if waiting takes longer than timeout.Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.