Beispiel #1
0
 /// <summary>
 /// setupMaster is used to change the default 'fork' behavior. The new settings are effective immediately and permanently, they cannot be changed later on.
 /// </summary>
 /// <param name="settings"></param>
 /// <returns></returns>
 /// <example>
 /// Example:
 /// <code>
 /// var cluster = require("cluster");
 /// cluster.setupMaster({
 ///   exec : "worker.js",
 ///   args : ["--use", "https"],
 ///   silent : true
 /// });
 /// cluster.fork();
 /// </code>
 /// </example>
 public Worker setupMaster(SettingOptions settings) { return null; }
Beispiel #2
0
 /// <summary>
 /// setupMaster is used to change the default 'fork' behavior. The new settings are effective immediately and permanently, they cannot be changed later on.
 /// </summary>
 /// <param name="settings"></param>
 /// <returns></returns>
 /// <example>
 /// Example:
 /// <code>
 /// var cluster = require("cluster");
 /// cluster.setupMaster({
 ///   exec : "worker.js",
 ///   args : ["--use", "https"],
 ///   silent : true
 /// });
 /// cluster.fork();
 /// </code>
 /// </example>
 public Worker setupMaster(SettingOptions settings)
 {
     return(null);
 }