C# Class NSoft.NFramework.JobScheduler.Jobs.AbstractServiceJob

Inheritance: Quartz.JobDetail, IServiceJob
Show file Open project: debop/NFramework

Protected Properties

Property Type Description
CancellationTokenSource System.Threading.CancellationTokenSource

Public Methods

Method Description
DoExecute ( Quartz.JobExecutionContext context, CancellationToken token ) : void

실제 작업을 정의합니다.

Execute ( Quartz.JobExecutionContext context ) : void

스케쥴러에 의해 주기적으로 호출되는 작업의 본체

Interrupt ( ) : void

작업이 취소되었을 시에 호출되는 메소드입니다.

Protected Methods

Method Description
AbstractServiceJob ( ) : System
AbstractServiceJob ( IDictionary stateMap ) : System
AbstractServiceJob ( string name ) : System

Method Details

AbstractServiceJob() protected method

protected AbstractServiceJob ( ) : System
return System

AbstractServiceJob() protected method

protected AbstractServiceJob ( IDictionary stateMap ) : System
stateMap IDictionary
return System

AbstractServiceJob() protected method

protected AbstractServiceJob ( string name ) : System
name string
return System

DoExecute() public abstract method

실제 작업을 정의합니다.
public abstract DoExecute ( Quartz.JobExecutionContext context, CancellationToken token ) : void
context Quartz.JobExecutionContext Quartz
token System.Threading.CancellationToken 작업 중 작업 취소를 할 수 있도록 하는 Token
return void

Execute() public method

스케쥴러에 의해 주기적으로 호출되는 작업의 본체
public Execute ( Quartz.JobExecutionContext context ) : void
context Quartz.JobExecutionContext
return void

Interrupt() public method

작업이 취소되었을 시에 호출되는 메소드입니다.
public Interrupt ( ) : void
return void

Property Details

CancellationTokenSource protected property

작업 취소 시 CancellationToken에 신호를 보냅니다.
protected CancellationTokenSource,System.Threading CancellationTokenSource
return System.Threading.CancellationTokenSource