C# 클래스 Encog.Util.Concurrency.Job.ConcurrentJob

A concurrent JOB, works well for multicore machines. Provides the low-level tools to create a concurrent job.
상속: IMultiThreadable
파일 보기 프로젝트 열기: encog/encog-silverlight-core

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
ConcurrentJob ( IStatusReportable report ) : System

메소드 상세

ConcurrentJob() 보호된 메소드

protected ConcurrentJob ( IStatusReportable report ) : System
report IStatusReportable
리턴 System

LoadWorkload() 공개 추상적인 메소드

Load the workload that this job must process.
public abstract LoadWorkload ( ) : int
리턴 int

PerformJobUnit() 공개 추상적인 메소드

Perform the actual workload.
public abstract PerformJobUnit ( JobUnitContext context ) : void
context JobUnitContext The workload to execute.
리턴 void

Process() 공개 메소드

Start the job, block until its done.
public Process ( ) : void
리턴 void

ReportStatus() 공개 메소드

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.
리턴 void

RequestNextTask() 공개 추상적인 메소드

Called by a thread to get the next task.
public abstract RequestNextTask ( ) : Object
리턴 Object