|
rippled
|
Holds all the 'static' information about a job, which does not change. More...

Public Member Functions | |
| JobTypeInfo ()=delete | |
| JobTypeInfo (JobType type, std::string name, int limit, std::chrono::milliseconds avgLatency, std::chrono::milliseconds peakLatency) | |
| JobType | type () const |
| std::string const & | name () const |
| int | limit () const |
| bool | special () const |
| std::chrono::milliseconds | getAverageLatency () const |
| std::chrono::milliseconds | getPeakLatency () const |
Private Attributes | |
| const JobType | m_type |
| const std::string | m_name |
| const int | m_limit |
| The limit on the number of running jobs for this job type. More... | |
| const std::chrono::milliseconds | m_avgLatency |
| Average and peak latencies for this job type. More... | |
| const std::chrono::milliseconds | m_peakLatency |
Holds all the 'static' information about a job, which does not change.
Definition at line 28 of file JobTypeInfo.h.
|
delete |
| ripple::JobTypeInfo::JobTypeInfo | ( | JobType | type, |
| std::string | name, | ||
| int | limit, | ||
| std::chrono::milliseconds | avgLatency, | ||
| std::chrono::milliseconds | peakLatency | ||
| ) |
Definition at line 49 of file JobTypeInfo.h.
| JobType ripple::JobTypeInfo::type | ( | ) | const |
Definition at line 64 of file JobTypeInfo.h.
| std::string const& ripple::JobTypeInfo::name | ( | ) | const |
Definition at line 70 of file JobTypeInfo.h.
| int ripple::JobTypeInfo::limit | ( | ) | const |
Definition at line 76 of file JobTypeInfo.h.
| bool ripple::JobTypeInfo::special | ( | ) | const |
Definition at line 82 of file JobTypeInfo.h.
| std::chrono::milliseconds ripple::JobTypeInfo::getAverageLatency | ( | ) | const |
Definition at line 88 of file JobTypeInfo.h.
| std::chrono::milliseconds ripple::JobTypeInfo::getPeakLatency | ( | ) | const |
Definition at line 94 of file JobTypeInfo.h.
|
private |
Definition at line 31 of file JobTypeInfo.h.
|
private |
Definition at line 32 of file JobTypeInfo.h.
|
private |
The limit on the number of running jobs for this job type.
A limit of 0 marks this as a "special job" which is not dispatched via the job queue.
Definition at line 39 of file JobTypeInfo.h.
|
private |
Average and peak latencies for this job type.
0 is none specified
Definition at line 42 of file JobTypeInfo.h.
|
private |
Definition at line 43 of file JobTypeInfo.h.
1.8.17