Long.MIN_VALUE
to indicate that no events had been received previously.
@param timeoutMillis The maximum amount of time (in milliseconds) to waitbefore returning. If zero, then the call will return immediately. If negative, the call will wait indefinitely.
@return If an event has already occurred subsequent to the event with IDlastEventId
, the pending JobStatus
event will be returned. Otherwise, the call will wait up to timeoutMillis
milliseconds for an event to occur. If one does occur in that time, that JobStatus
will be returned. If no event occurs, null
is returned.
@throws SecurityException If the caller does not have permission wait forevents.
@throws RemoteException If a communication error occurs.
|
|
|
|