Interface definition and base implementation for all subprocess managers.
This abstract class defines the interface implemented by all Managers.
Check the health of the worker subprocess.
| Raises : | WorkerError if the worker subprocess is not responding. |
|---|
Wait for the worker to be ready to handle requests.
| Parameters: |
|
|---|---|
| Raises : | WorkerError if the worker is not ready within the time limit. |
Start the worker subprocess.
| Parameters: |
|
|---|
| Parameters: |
|
|---|
This is the base implementation of the Manager class.
Implementations are provided for the following methods:
The following methods must be implemented by the subclass:
Check the worker subprocess health.
| Raises : | NotImplementedError must be implemented by subclass. |
|---|
Wait until the worker subprocess is responding to requests.
| Parameters: |
|
|---|---|
| Raises : | WorkerError if the worker is not ready within the time limit. |
| Raises : | WorkerError if there is no subprocess. |
Start the worker subprocess.
| Raises : | NotImplementedError must be implemented by subclass. |
|---|