mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
More tie ins.
This commit is contained in:
@@ -31,8 +31,12 @@ enum JobType
|
||||
jtPROPOSAL_t = 7, // A proposal from a trusted source
|
||||
jtADMIN = 8, // An administrative operation
|
||||
jtDEATH = 9, // job of death, used internally
|
||||
|
||||
// special types not dispatched by the job pool
|
||||
jtCLIENT = 10,
|
||||
jtPEER = 11,
|
||||
};
|
||||
#define NUM_JOB_TYPES 10
|
||||
#define NUM_JOB_TYPES 16
|
||||
|
||||
class Job
|
||||
{
|
||||
@@ -93,6 +97,9 @@ public:
|
||||
void shutdown();
|
||||
void setThreadCount(int c = 0);
|
||||
|
||||
LoadEvent::pointer getLoadEvent(JobType t)
|
||||
{ return boost::make_shared<LoadEvent>(boost::ref(mJobLoads[t]), true, 1); }
|
||||
|
||||
Json::Value getJson(int c = 0);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user