NTP Analyzer  0.8.2
Analyze the operation of time servers
Ntp.Analyzer.Process.Description.BulkStatJob Class Reference
Inheritance diagram for Ntp.Analyzer.Process.Description.BulkStatJob:
Collaboration diagram for Ntp.Analyzer.Process.Description.BulkStatJob:

Public Member Functions

 BulkStatJob (ReadingBulkConfiguration config, LogBase log)
- Public Member Functions inherited from Ntp.Common.Process.JobDescription
override string ToString ()
 Returns a string that represents the current JobDescription. More...

Public Attributes

override string JobType => "Bulk stat"
override int Priority => 1
override ThreadType ThreadType => ThreadType.NoThread
- Public Attributes inherited from Ntp.Common.Process.JobDescription
string Name => Configuration.ConfigName
 Gets the name. More...

Protected Member Functions

override void InternalExecute ()
 Implementing method for descendants. More...
- Protected Member Functions inherited from Ntp.Common.Process.JobDescription
 JobDescription (IJobConfiguration config, LogBase log)
 Initializes a new instance of the JobDescription class. More...

Private Attributes

readonly ReadingBulkConfiguration config

Additional Inherited Members

- Package Functions inherited from Ntp.Common.Process.JobDescription
void Execute ()
 Perform execution of this instance. More...
- Properties inherited from Ntp.Common.Process.JobDescription
IJobConfiguration Configuration [get]
 Gets the configuration for the job. More...
abstract string JobType [get]
 Gets the type of the job as text. More...
LogBase Log [get]
 Gets the log to use when registering events. More...
abstract int Priority [get]
 Gets the priority to use when scheduling jobs. More...
abstract ThreadType ThreadType [get]
 Gets a value indicating whether this JobDescription should run as a single thread. More...

Detailed Description

Definition at line 30 of file BulkStatJob.cs.

Constructor & Destructor Documentation

Ntp.Analyzer.Process.Description.BulkStatJob.BulkStatJob ( ReadingBulkConfiguration  config,
LogBase  log 

Definition at line 32 of file BulkStatJob.cs.

33  : base(config, log)
34  {
35  this.config = config;
36  }
readonly ReadingBulkConfiguration config
Definition: BulkStatJob.cs:38

Member Function Documentation

override void Ntp.Analyzer.Process.Description.BulkStatJob.InternalExecute ( )

Implementing method for descendants.

Implements Ntp.Common.Process.JobDescription.

Definition at line 46 of file BulkStatJob.cs.

References Ntp.Analyzer.Data.DataFace.Instance, and Ntp.Analyzer.Data.DataFace.ReadingBulks.

47  {
48  var bulk = new ReadingBulk(config.Name, config.TimeStamp);
49  DataFace.Instance.ReadingBulks.Save(bulk);
50  }
readonly ReadingBulkConfiguration config
Definition: BulkStatJob.cs:38
ReadingBulkMapper ReadingBulks
Gets the reading bulk mapper.
Definition: DataFace.cs:105
Singleton facade class used to access memory persistent data.
Definition: DataFace.cs:30
static DataFace Instance
Gets the Singleton instance.
Definition: DataFace.cs:51

Member Data Documentation

readonly ReadingBulkConfiguration Ntp.Analyzer.Process.Description.BulkStatJob.config

Definition at line 38 of file BulkStatJob.cs.

override string Ntp.Analyzer.Process.Description.BulkStatJob.JobType => "Bulk stat"

Definition at line 42 of file BulkStatJob.cs.

override int Ntp.Analyzer.Process.Description.BulkStatJob.Priority => 1

Definition at line 44 of file BulkStatJob.cs.

override ThreadType Ntp.Analyzer.Process.Description.BulkStatJob.ThreadType => ThreadType.NoThread

Definition at line 40 of file BulkStatJob.cs.

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