Exemple #1
0
 def list(self, reverse=False):
     return InstanceRegistry.list(self,
                                  sort_key=lambda i: i.priority,
                                  sort_reverse=reverse)
Exemple #2
0
 def register(self, m):
     InstanceRegistry.register(self, m.id, m)
Exemple #3
0
 def __init__(self):
     InstanceRegistry.__init__(self, Monitor)
Exemple #4
0
 def list(self, reverse=False):
     return InstanceRegistry.list(self, sort_key=lambda i: i.priority, sort_reverse=reverse)
Exemple #5
0
 def register(self, m):
     InstanceRegistry.register(self, m.id, m)
Exemple #6
0
 def __init__(self):
     InstanceRegistry.__init__(self, Monitor)