Пример #1
0
    def join(self, timeout=None):
        """Join worker threads.
        If timeout is not None, is_alive() must be used to determine
        if the thread pool is still running.

        Arguments:
            timeout: join timeout in seconds
        """
        join(self.threads, timeout)
Пример #2
0
    def join(self, timeout=None):
        """Join worker threads.
        If timeout is not None, is_alive() must be used to determine
        if the thread pool is still running.

        Arguments:
            timeout: join timeout in seconds
        """
        join(self.threads, timeout)
Пример #3
0
    def join(self, timeout=None):
        """Join the server.

        Join the server, waiting for the completion of all threads 
        or greenlets.

        Args:
            timeout: Optional timeout in seconds to observe before returning.
                If timeout is specified, the status() method must be called
                to determine if the service is still running.
        """
        join([self.handler, self.thread], timeout)
Пример #4
0
    def join(self, timeout=None):
        """Join the service.

        Join the service, waiting for the completion of all threads 
        or greenlets.

        Args:
            timeout: Optional timeout in seconds to observe before returning.
                If timeout is specified, the status() method must be called
                to determine if the service is still running.
        """
        join(self.servers, timeout)
Пример #5
0
 def join(self, timeout=None):
     """Join handler."""
     join([self.thread_pool, self.job_monitor, super(IndexServiceHandler, self)], timeout)
Пример #6
0
 def join(self, timeout=None):
     """Join handler."""
     join([self.archiver, super(ArchiveServiceHandler, self)], timeout)
Пример #7
0
 def join(self, timeout=None):
     """Join handler."""
     join([self.persist_job_monitor, super(PersistServiceHandler, self)], timeout)
Пример #8
0
 def join(self, timeout):
     """Join all threads."""
     threads = [self.db_job_queue]
     if self.monitor_thread is not None:
         threads.append(self.monitor_thread)
     join(threads, timeout)
 def join(self, timeout):
     """Join persister."""
     join([self.threadpool, self.monitorThread], timeout)
Пример #10
0
 def join(self, timeout):
     """Join all threads."""
     threads = [self.db_job_queue]
     if self.monitor_thread is not None:
         threads.append(self.monitor_thread)
     join(threads, timeout)
 def join(self, timeout):
     """Join persister."""
     join([self.threadpool, self.monitorThread], timeout)
Пример #12
0
 def join(self, timeout):
     """Join archiverer."""
     threads = [self.threadpool, self.db_job_queue]
     if self.thread is not None:
         threads.append(self.thread)
     join(threads, timeout)
Пример #13
0
 def join(self, timeout=None):
     """Join handler."""
     join([self.persist_job_monitor,
           super(PersistServiceHandler, self)], timeout)
Пример #14
0
 def join(self, timeout):
     """Join scheduler."""
     join([self.threadpool, self.monitorThread], timeout)
Пример #15
0
 def join(self, timeout=None):
     """Join handler."""
     join([self.archiver, super(ArchiveServiceHandler, self)], timeout)
Пример #16
0
 def join(self, timeout=None):
     """Join handler."""
     join([self.scheduler, super(ScheduleServiceHandler, self)], timeout)
Пример #17
0
 def join(self, timeout):
     """Join scheduler."""
     join([self.threadpool, self.monitorThread], timeout)
Пример #18
0
 def join(self, timeout):
     """Join archiverer."""
     threads = [self.threadpool, self.db_job_queue]
     if self.thread is not None:
         threads.append(self.thread)
     join(threads, timeout)