Open Kilda Java Documentation
kilda.traffexam.rest.ThreadPoolWSGIServer Class Reference
Inheritance diagram for kilda.traffexam.rest.ThreadPoolWSGIServer:

Public Member Functions

def __init__ (self, thread_count=None, args, kwargs)
 
def process_request_thread (self, request, client_address)
 
def process_request (self, request, client_address)
 

Public Attributes

 thread_count
 
 pool
 

Detailed Description

WSGI-compliant HTTP server.  Dispatches requests to a pool of threads.

Definition at line 243 of file rest.py.

Constructor & Destructor Documentation

◆ __init__()

def kilda.traffexam.rest.ThreadPoolWSGIServer.__init__ (   self,
  thread_count = None,
  args,
  kwargs 
)
If 'thread_count' == None, we'll use multiprocessing.cpu_count() threads.

Definition at line 246 of file rest.py.

Member Function Documentation

◆ process_request()

def kilda.traffexam.rest.ThreadPoolWSGIServer.process_request (   self,
  request,
  client_address 
)

Definition at line 261 of file rest.py.

◆ process_request_thread()

def kilda.traffexam.rest.ThreadPoolWSGIServer.process_request_thread (   self,
  request,
  client_address 
)

Definition at line 253 of file rest.py.

Member Data Documentation

◆ pool

kilda.traffexam.rest.ThreadPoolWSGIServer.pool

Definition at line 250 of file rest.py.

◆ thread_count

kilda.traffexam.rest.ThreadPoolWSGIServer.thread_count

Definition at line 249 of file rest.py.


The documentation for this class was generated from the following file: