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
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
def __init__(self, storage, trans, method="tpc_finish"): self.storage = storage self.trans = trans self.method = method self.ready = threading.Event() TestThread.__init__(self)
def __init__(self, storage, trans): self.storage = storage self.trans = trans self.ready = threading.Event() TestThread.__init__(self)
def __init__(self, test, storage, trans): self.storage = storage self.trans = trans self.ready = threading.Event() TestThread.__init__(self, test)