@FunctionalInterface
public static interface ControlClientPool.Sink
InstructionRequestHandlers
keyed by worker id.Modifier and Type | Method and Description |
---|---|
void |
put(java.lang.String workerId,
InstructionRequestHandler instructionHandler)
Puts an
InstructionRequestHandler into a client pool. |
void put(java.lang.String workerId, InstructionRequestHandler instructionHandler) throws java.lang.Exception
InstructionRequestHandler
into a client pool. Worker ids must be unique per
pool.java.lang.Exception