package cluster
cluster package object
- Alphabetic
- By Inheritance
- cluster
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- trait Address extends Object
- Annotations
- @RawJSType() @native()
- trait Cluster extends Object with IEventEmitter
A single instance of Node.js runs in a single thread.
A single instance of Node.js runs in a single thread. To take advantage of multi-core systems the user will sometimes want to launch a cluster of Node.js processes to handle the load.
The cluster module allows you to easily create child processes that all share server ports.
- Annotations
- @RawJSType() @native()
- implicit final class ClusterEvents extends AnyVal
Cluster Events
- trait ClusterSettings extends Object
Cluster Settings
Cluster Settings
- Annotations
- @RawJSType() @native()
- type Message = Any
- trait Worker extends Object with IEventEmitter
A Worker object contains all public information and method about a worker.
A Worker object contains all public information and method about a worker. In the master it can be obtained using cluster.workers. In a worker it can be obtained using cluster.worker.
- Annotations
- @RawJSType() @native()
- implicit final class WorkerEvents extends AnyVal
Worker Events and Extensions