Process
object has terminated. This method returns immediately if the subprocess has already terminated. If the subprocess has not yet terminated, the calling thread will be blocked until the subprocess exits.
@return the exit value of the process. By convention, 0
indicates normal termination.
@exception InterruptedException if the current thread is {@linkplain Thread#interrupt() interrupted} by anotherthread while it is waiting, then the wait is ended and an {@link InterruptedException} is thrown.
Waits for this {@link BayeuxClient} to reach the given state(s) within the given time.
@param waitMs the time to wait to reach the given state(s) @param state the state to reach @param states additional states to reach in alternative @return true if one of the state(s) has been reached within the given time, false otherwiseIllegalStateException
if the target status was not given in the constructor.
@return the actual status that was returned
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|