NCBI C++ ToolKit
Classes | Macros | Enumerations | Functions
psgs_dispatcher.hpp File Reference
#include <list>
#include <mutex>
#include "ipsgs_processor.hpp"
#include "pubseq_gateway_logging.hpp"
+ Include dependency graph for psgs_dispatcher.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

struct  SProcessorData
 
struct  SProcessorGroup
 
class  CPSGS_Dispatcher
 Based on various attributes of the request: {{seq_id}}; NA name; {{blob_id}}; etc (or a combination thereof)... More...
 
struct  CPSGS_Dispatcher::SProcessorConcurrency
 

Macros

#define MAX_PROCESSOR_GROUPS   16
 
#define PROC_BUCKETS   100
 

Enumerations

enum  EPSGS_ProcessorStatus { ePSGS_Up , ePSGS_Canceled , ePSGS_Finished }
 

Functions

void request_timer_cb (uv_timer_t *handle)
 
void request_timer_close_cb (uv_handle_t *handle)
 

Macro Definition Documentation

◆ MAX_PROCESSOR_GROUPS

#define MAX_PROCESSOR_GROUPS   16

Definition at line 42 of file psgs_dispatcher.hpp.

◆ PROC_BUCKETS

#define PROC_BUCKETS   100

Definition at line 43 of file psgs_dispatcher.hpp.

Enumeration Type Documentation

◆ EPSGS_ProcessorStatus

Enumerator
ePSGS_Up 
ePSGS_Canceled 
ePSGS_Finished 

Definition at line 55 of file psgs_dispatcher.hpp.

Function Documentation

◆ request_timer_cb()

void request_timer_cb ( uv_timer_t *  handle)

◆ request_timer_close_cb()

void request_timer_close_cb ( uv_handle_t *  handle)

Definition at line 55 of file psgs_dispatcher.cpp.

References CPubseqGatewayApp::GetInstance().

Referenced by SProcessorGroup::StopRequestTimer().

Modified on Wed Apr 24 14:11:30 2024 by modify_doxy.py rev. 669887