Esempio n. 1
0
 def __init__(self, db, stop, threadnum, commitdict, startnum, step=2, sleep=None):
     TestThread.__init__(self)
     self.db = db
     self.stop = stop
     self.threadnum = threadnum
     self.startnum = startnum
     self.step = step
     self.sleep = sleep
     self.added_keys = []
     self.commitdict = commitdict
Esempio n. 2
0
 def __init__(self, test, db, stop, threadnum, commitdict, startnum,
              step=2, sleep=None):
     TestThread.__init__(self, test)
     self.db = db
     self.stop = stop
     self.threadnum = threadnum
     self.startnum = startnum
     self.step = step
     self.sleep = sleep
     self.added_keys = []
     self.commitdict = commitdict
Esempio n. 3
0
 def __init__(self, storage, trans, method="tpc_finish"):
     self.storage = storage
     self.trans = trans
     self.method = method
     self.ready = threading.Event()
     TestThread.__init__(self)
Esempio n. 4
0
 def __init__(self, storage, trans):
     self.storage = storage
     self.trans = trans
     self.ready = threading.Event()
     TestThread.__init__(self)
Esempio n. 5
0
 def __init__(self, test, storage, trans):
     self.storage = storage
     self.trans = trans
     self.ready = threading.Event()
     TestThread.__init__(self, test)
Esempio n. 6
0
 def __init__(self, storage, trans, method="tpc_finish"):
     self.storage = storage
     self.trans = trans
     self.method = method
     self.ready = threading.Event()
     TestThread.__init__(self)