Interrupting a Server
An
RWRunnableServer services an interrupt request immediately after dequeuing a runnable but before executing it.
An
RWServerPool can service an interrupt request at two points:
After dequeuing a runnable and before dequeuing the next available runnable server.
Immediately after dequeuing a server, but before enqueuing the runnable for execution.
Once the interrupt is released, both types of server continue normal execution.