Interface ControlClientPool.Sink
-
- Enclosing interface:
- ControlClientPool
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface ControlClientPool.SinkA sink forInstructionRequestHandlerskeyed by worker id.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidput(java.lang.String workerId, InstructionRequestHandler instructionHandler)Puts anInstructionRequestHandlerinto a client pool.
-
-
-
Method Detail
-
put
void put(java.lang.String workerId, InstructionRequestHandler instructionHandler) throws java.lang.ExceptionPuts anInstructionRequestHandlerinto a client pool. Worker ids must be unique per pool.- Throws:
java.lang.Exception
-
-