__all__ = ['Bublin']
class Bublin(BaseHandler):
- plugin_name = 'bublin'
+ handler_name = 'bublin'
bubbles_max_slot = None # NUM_SLOTS - 1 (NUM_SLOTS -> power of 2)
bubbles_local_slots = None # dict with local slot numbers
self.flush_sql(dst_curs)
for p in self.used_plugins.values():
- p.finish_batch(self.batch_info)
+ p.finish_batch(self._batch_info)
self.used_plugins = {}
# finalize table changes
except KeyError:
p = t.get_plugin()
self.used_plugins[ev.extra1] = p
- p.prepare_batch(self.batch_info, dst_curs)
+ p.prepare_batch(self._batch_info, dst_curs)
p.process_event(ev, self.apply_sql, dst_curs)