Packageorg.generalrelativity.thread.process
Classpublic class AbstractProcess
InheritanceAbstractProcess Inheritance Object
Implements IRunnable
Subclasses AStar, SearchingBase

Offers an abstract implementation of IRunnable

See also

IRunnable


Public Properties
 PropertyDefined By
  isSelfManaging : Boolean
AbstractProcess
  percentage : Number
[read-only]
AbstractProcess
Protected Properties
 PropertyDefined By
  _isSelfManaging : Boolean
AbstractProcess
Public Methods
 MethodDefined By
  
AbstractProcess(isSelfManaging:Boolean = false)
AbstractProcess
  
run():void
AbstractProcess
  
runAndManage(allocation:int):void
AbstractProcess
  
terminate():void
AbstractProcess
  
yield():void
AbstractProcess
Property Detail
_isSelfManagingproperty
protected var _isSelfManaging:Boolean

isSelfManagingproperty 
isSelfManaging:Boolean


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


Implementation
    public function get percentage():Number
Constructor Detail
AbstractProcess()Constructor
public function AbstractProcess(isSelfManaging:Boolean = false)



Parameters
isSelfManaging:Boolean (default = false)
Method Detail
run()method
public function run():void

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

Parameters

allocation:int

terminate()method 
public function terminate():void

yield()method 
public function yield():void