- timeoutMillis
- maximum time to spend waiting for a reference object to become available. A value of 0 results in the method waiting indefinitely.
Documentation for this section has not yet been entered.
Type Reason Java.Lang.IllegalArgumentException if timeoutMillis . Java.Lang.InterruptedException if the blocking call was interrupted
Returns the next available reference from the queue, removing it in the process. Waits for a reference to become available or the given timeout period to elapse, whichever happens first.