C# Class Encog.Util.Concurrency.Job.ConcurrentJob

A concurrent JOB, works well for multicore machines. Provides the low-level tools to create a concurrent job.
Inheritance: IMultiThreadable
Afficher le fichier Open project: encog/encog-silverlight-core

Méthodes publiques

Méthode Description
LoadWorkload ( ) : int

Load the workload that this job must process.

PerformJobUnit ( JobUnitContext context ) : void

Perform the actual workload.

Process ( ) : void

Start the job, block until its done.

ReportStatus ( JobUnitContext context, String status ) : void

Recieve status reports.

RequestNextTask ( ) : Object

Called by a thread to get the next task.

Méthodes protégées

Méthode Description
ConcurrentJob ( IStatusReportable report ) : System

Method Details

ConcurrentJob() protected méthode

protected ConcurrentJob ( IStatusReportable report ) : System
report IStatusReportable
Résultat System

LoadWorkload() public abstract méthode

Load the workload that this job must process.
public abstract LoadWorkload ( ) : int
Résultat int

PerformJobUnit() public abstract méthode

Perform the actual workload.
public abstract PerformJobUnit ( JobUnitContext context ) : void
context JobUnitContext The workload to execute.
Résultat void

Process() public méthode

Start the job, block until its done.
public Process ( ) : void
Résultat void

ReportStatus() public méthode

Recieve status reports.
public ReportStatus ( JobUnitContext context, String status ) : void
context JobUnitContext The context for this job.
status String The current status for this job.
Résultat void

RequestNextTask() public abstract méthode

Called by a thread to get the next task.
public abstract RequestNextTask ( ) : Object
Résultat Object