External API
Functions
Returns the active measurement in the session. If session == null, it is the latest session.
Tells how many sessions are still writing / planning to serialize their state on disk.
Return a summary of a past measurement.
Returns a past run id in the session. If session == null, it is the latest session.
The pool of all the free meters associated with the instance.
Return a list of received MQTT messages.
Global configuration for this instance.
Handles commands. Commands are different from events in that they are not being logged. Session info is included if needed. The handling is synchronous, but long-running tasks might start asynchronous processes.
Handle an event. If sessionId == null, it is the latest session.
Handle multiple resource consumption events. If sessionId == null, it is the latest session.
Handle a trigger event. If session == null, it is the latest session.
Shorter summary of the instance status. Faster to compute, for the web UI.
Summary data structure for the whole app setup.
Up-to-date snapshot of the log entries of the past sessions.
Tells how many ordinary files in located in the log directory. This can be an estimate and only needs to grow when a log has been serialized on disk.
Summary of external nodes associated with this instance.
The pool of all meters associated with the instance. Does not include dummy copies of the meters.
Send a MQTT message with the given topic and content.
A snapshot of currently active & inactive sessions.