Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 5
0
 def join(self, timeout=None):
     """Join handler."""
     join([self.thread_pool, self.job_monitor, super(IndexServiceHandler, self)], timeout)
Exemplo n.º 6
0
 def join(self, timeout=None):
     """Join handler."""
     join([self.archiver, super(ArchiveServiceHandler, self)], timeout)
Exemplo n.º 7
0
 def join(self, timeout=None):
     """Join handler."""
     join([self.persist_job_monitor, super(PersistServiceHandler, self)], timeout)
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 11
0
 def join(self, timeout):
     """Join persister."""
     join([self.threadpool, self.monitorThread], timeout)
Exemplo n.º 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)
Exemplo n.º 13
0
 def join(self, timeout=None):
     """Join handler."""
     join([self.persist_job_monitor,
           super(PersistServiceHandler, self)], timeout)
Exemplo n.º 14
0
 def join(self, timeout):
     """Join scheduler."""
     join([self.threadpool, self.monitorThread], timeout)
Exemplo n.º 15
0
 def join(self, timeout=None):
     """Join handler."""
     join([self.archiver, super(ArchiveServiceHandler, self)], timeout)
Exemplo n.º 16
0
 def join(self, timeout=None):
     """Join handler."""
     join([self.scheduler, super(ScheduleServiceHandler, self)], timeout)
Exemplo n.º 17
0
 def join(self, timeout):
     """Join scheduler."""
     join([self.threadpool, self.monitorThread], timeout)
Exemplo n.º 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)