Exemplo n.º 1
0
 def mcsoda_run(self, cfg, cur, protocol, host_port, user, pswd,
                stats_collector = None, stores = None, ctl = None,
                heartbeat=None, why = None, bucket=None):
     return mcsoda.run(cfg, cur, protocol, host_port, user, pswd,
                       stats_collector=stats_collector,
                       stores=[mcsoda_mongo.StoreMongo()],
                       ctl=ctl)
Exemplo n.º 2
0
 def load_data(self):
     cur, start_time, end_time = mcsoda.run(
         self.cfg, {}, self.protocol, self.host_port, self.user, self.pswd, ctl=self.ctl
     )
     return cur