Packageorg.generalrelativity.thread
Interfacepublic interface IRunnable
Implementors AbstractProcess



Public Properties
 PropertyDefined By
  isSelfManaging : Boolean
Determines whether the process is self managing or not.
IRunnable
  percentage : Number
[read-only] Returns the percentage completion
IRunnable
Public Methods
 MethodDefined By
  
run():void
Runs the smallest chunk of the process
IRunnable
  
runAndManage(allocation:int):void
Runs and manages the process over the given allocation
IRunnable
  
terminate():void
Terminates the process
IRunnable
Property Detail
isSelfManagingproperty
isSelfManaging:Boolean

Determines whether the process is self managing or not. If it is, runAndManage gets called by the thread, otherwise, run is called.


Implementation
    public function get isSelfManaging():Boolean
    public function set isSelfManaging(value:Boolean):void
percentageproperty 
percentage:Number  [read-only]

Returns the percentage completion


Implementation
    public function get percentage():Number
Method Detail
run()method
public function run():void

Runs the smallest chunk of the process

runAndManage()method 
public function runAndManage(allocation:int):void

Runs and manages the process over the given allocation

Parameters

allocation:int

terminate()method 
public function terminate():void

Terminates the process