Package Products :: Package ZenHub :: Module notify |
[hide private]
[frames] | no frames]

# Module notify

source code

Classes | [hide private]
NotifyItem These items are held in the BatchNotifier's queue.
BatchNotifier Processes the expensive getSubDevices call in batches.

Variables | [hide private]
| __doc__ = `"""Provides a batch notifier to break up the expensi`...``
| LOG = `logging.getLogger("zen.hub.notify")`
| BATCH_NOTIFIER = `BatchNotifier()`

Variables Details | [hide private]

  ### __doc__ Value:
      """Provides a batch notifier to break up the expensive, blocking IO
      involved with calls to DeviceOrganizer.getSubDevices which can call ge
      tObject
      on the brains of every device in the system. Processes batches of 10 d
      evices
      giving way to the event loop between each batch. See ticket #26626. ze
      nhub
      calls update_all_services as the entry point into this module, everyth
      ...