| 
    rippled
    
   | 
 
Holds all the 'static' information about a job, which does not change. More...
#include <JobTypeInfo.h>

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 | |
| JobType const | m_type | 
| std::string const | m_name | 
| int const | m_limit | 
| The limit on the number of running jobs for this job type.   | |
| std::chrono::milliseconds const | m_avgLatency | 
| Average and peak latencies for this job type.   | |
| std::chrono::milliseconds const | 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.