@FunctionalInterface
public static interface ControlClientPool.Source
InstructionRequestHandlers.| Modifier and Type | Method and Description | 
|---|---|
| InstructionRequestHandler | take(java.lang.String workerId,
    java.time.Duration timeout)Retrieves the  InstructionRequestHandlerfor the given worker id, blocking until
 available or the request times out. | 
InstructionRequestHandler take(java.lang.String workerId, java.time.Duration timeout) throws java.lang.Exception
InstructionRequestHandler for the given worker id, blocking until
 available or the request times out. Worker ids must be unique per pool. A given worker id
 must not be requested multiple times. Note that if the given worker id is never entered into
 the pool, this call will never return.java.util.concurrent.TimeoutException - if the request times outjava.lang.InterruptedException - if interrupted while waitingjava.lang.Exception