OptrisOptrisDocumentation

Documentation/OTC SDK/optris_sdk — Python API referencev12.0

ActionDropCounts

class optris_sdk.alarms.ActionDropCounts

How many actions, and how many action reports, were lost.

The reports Alarms.on_action_error and Alarms.on_action_completed deliver are best effort: a chattering alarm in front of a slow handler can outrun the bounded backlog of undelivered reports, and past it a report is lost. These totals are exact, so an application can say how many never arrived. Read with Alarms.action_drop_counts.

  • Attribute actions_dropped — actions discarded from a full action queue. Each is also reported as a dropped ActionCompleted, unless that report is itself among the lost ones.
  • Attribute reports_dropped — error and outcome reports lost because too many were already waiting for the application to take them.

ActionDropCounts — methods

__repr__()