Package Products :: Package ZenHub :: Module invalidations :: Class InvalidationProcessor
[hide private]
[frames] | no frames]

Class InvalidationProcessor

source code

object --+
         |
        InvalidationProcessor

Registered as a global utility. Given a database hook and a list of oids, handles pushing updated objects to the appropriate services, which in turn cause collectors to be pushed updates.

Instance Methods [hide private]
 
__init__(self) source code
 
onHubCreated(self, event) source code
 
processQueue(self, oids) source code
 
_dispatch(self, dmd, oid, ioid, queue)
Send to all the services that care by firing events.
source code
Class Variables [hide private]
  _invalidation_queue = None
  _hub = None
  _hub_ready = None
Method Details [hide private]

__init__(self)
(Constructor)

source code 
Overrides: object.__init__
(inherited documentation)

onHubCreated(self, event)

source code 
Decorators:
  • @adapter(IHubCreatedEvent)

processQueue(self, oids)

source code 
Decorators:
  • @defer.inlineCallbacks