GODPAPER | All Packages | All Classes | Index | Frames No Frames |
AbstractProcess

Package | org.generalrelativity.thread.process
Class | public class AbstractProcess
Inheritance | AbstractProcess Object
Implements | IRunnable
Subclasses | AStar, SearchingBase

Offers an abstract implementation of `IRunnable`

See also

IRunnable

Public Properties

| Property | Defined By
--- | --- | ---
|  | isSelfManaging : Boolean | AbstractProcess
|  | percentage : Number [read-only] | AbstractProcess

Protected Properties

| Property | Defined By
--- | --- | ---
|  | _isSelfManaging : Boolean | AbstractProcess

Public Methods

| Method | Defined By
--- | --- | ---
|  | AbstractProcess(isSelfManaging:Boolean = false) | AbstractProcess
|  | run():void | AbstractProcess
|  | runAndManage(allocation:int):void | AbstractProcess
|  | terminate():void | AbstractProcess
|  | yield():void | AbstractProcess

Property Detail

_isSelfManaging | property

`protected var _isSelfManaging:Boolean`

isSelfManaging | property |

`isSelfManaging:Boolean`

Implementation
`public function get isSelfManaging():Boolean`
`public function set isSelfManaging(value:Boolean):void`

percentage | property |

`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`

Thu Jan 16 2014, 01:11 PM +08:00