Run Time States
The APIS Hive has several runtime-states. A runtime-state is an internal condition of APIS Hive and its modules, and the different states are:
Name | Description |
---|---|
Initialized | Internal APIS Hive initializing. |
Modules created | The included modules are created. |
Configuration loaded | The modules have loaded their persisted configuration. |
Resources acquired | The modules have acquired any resources they need. |
Started | The configured system is running. |
Paused | The configured system is idle. |
Stopped | The configured system is stopped. |
Configuration saved | The configuration is saved. |
Resources released | The modules have released any acquired resources. |
By default, APIS Hive will automatically enter the "Started" runtime-state when launched, passing through all the other states. APIS Hive will initialize itself, create the modules, load their configuration, and acquire their resources before entering the "Started" state. The automatically entered runtime-state is configurable, see "Configuring the APIS Hive properties".
It's also possible to manually pass through the different states. This might be desirable, for example, when debugging a malfunctioning configuration. To do this, set the auto start level to Initialize and restart the APIS Hive. To manually set the runtime-state of an APIS Hive Instance node, change the "Running state" property.