def __init__(self, executor): FacebookBase.__init__(self, "futuresleep") TServerInterface.__init__(self) self.executor = executor
def __init__(self, noop_event, shutdown_event): FacebookBase.__init__(self, "sleep") TServerInterface.__init__(self) self.noop_event = noop_event self.shutdown_event = shutdown_event
def __init__(self, noop_event): FacebookBase.__init__(self, "sleep") self.noop_event = noop_event
def __init__(self): FacebookBase.__init__(self, "sleep")