Module: lib/master

lib/master

The master

Author:
Source:

Methods

<private, inner> cleanup()

Source:

<private, inner> fork(number)

Fork Workers N times

Parameters:
Name Type Argument Default Description
number int <optional>
cpus.length

the number of processes to start

Source:

<inner> get() → {number}

Get number of workers

Source:
Returns:
Type
number

<inner> get() → {*}

get the cluster object

Source:
Returns:
Type
*

<private, inner> lifecycleTimeoutHandler()

Called when workers have reached the end of their lifespan

Source:
Sazze, Inc Copyright © 2012-2013
Documentation generated by JSDoc 3.2.1 on Mon Nov 04 2013 13:17:36 GMT-0800 (PST) using the DocStrap template.