def UpdateNextEventTime(self, next_event_time):
    with self._wakeup_lock:
      if next_event_time < self._next_wakeup:
        self._next_wakeup = next_event_time
        self._event.set()
Notify the TaskExecutor of the closest event it needs to process.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/taskqueue/taskqueue_stub.py/_BackgroundTaskScheduler.UpdateNextEventTime