C# Class Hyena.Jobs.Job

Show file Open project: rubenv/tripod Class Usage Examples

Private Properties

Property Type Description
Cancel void
Pause bool
Pause bool
Preempt void
Start void

Public Methods

Method Description
Job ( ) : System
Job ( string title, PriorityHints hints ) : System
SetResources ( ) : void
Update ( string title, string status, double progress ) : void
YieldToScheduler ( ) : void

Protected Methods

Method Description
FreezeUpdate ( ) : void
OnFinished ( ) : void
OnUpdated ( ) : void
RunJob ( ) : void
ThawUpdate ( bool raiseUpdate ) : void

Private Methods

Method Description
Cancel ( ) : void
Pause ( ) : bool
Pause ( bool unschedule ) : bool
Preempt ( ) : void
Start ( ) : void

Method Details

FreezeUpdate() protected method

protected FreezeUpdate ( ) : void
return void

Job() public method

public Job ( ) : System
return System

Job() public method

public Job ( string title, PriorityHints hints ) : System
title string
hints PriorityHints
return System

OnFinished() protected method

protected OnFinished ( ) : void
return void

OnUpdated() protected method

protected OnUpdated ( ) : void
return void

RunJob() protected method

protected RunJob ( ) : void
return void

SetResources() public method

public SetResources ( ) : void
return void

ThawUpdate() protected method

protected ThawUpdate ( bool raiseUpdate ) : void
raiseUpdate bool
return void

Update() public method

public Update ( string title, string status, double progress ) : void
title string
status string
progress double
return void

YieldToScheduler() public method

public YieldToScheduler ( ) : void
return void