Results of 1 - 10 of about 44 for workers (0.002 sec.)
- The Pool class 12294
- « Collectable::isGarbage Pool::collect » PHP Manual pthreads The Pool class 検索 The Pool class (PECL pthreads >= 2.0.0) はじめに A Pool is a container for, and controller of, an adjustable number of Workers. Pooling provides a higher level
... the way required by pthreads. クラス概要 class Pool { /* プロパティ */ protected $ size ; protected $ class ; protected $ workers ; protected $ ctor ; protected $ last ; /* メソッド */ public function __construct ( int $size , string $class = ? , array ... ( Threaded $task ): int public function submitTo ( int $worker , Threaded $task ): int } プロパティ size maximum number of Workers this Pool can use class the class of the Worker workers references to Workers ctor the arguments for constructor of new Wo ... rkers last offset in workers of the last Worker used 目次 Pool::collect — Collect references to completed tasks Pool::__construct — Creates a new Pool ...
-
https://man.mtool.work/php/8.3/class.pool.html
- The Pool class 12294
- « Collectable::isGarbage Pool::collect » PHP Manual pthreads The Pool class 検索 The Pool class (PECL pthreads >= 2.0.0) はじめに A Pool is a container for, and controller of, an adjustable number of Workers. Pooling provides a higher level
... the way required by pthreads. クラス概要 class Pool { /* プロパティ */ protected $ size ; protected $ class ; protected $ workers ; protected $ ctor ; protected $ last ; /* メソッド */ public function __construct ( int $size , string $class = ? , array ... ( Threaded $task ): int public function submitTo ( int $worker , Threaded $task ): int } プロパティ size maximum number of Workers this Pool can use class the class of the Worker workers references to Workers ctor the arguments for constructor of new Wo ... rkers last offset in workers of the last Worker used 目次 Pool::collect — Collect references to completed tasks Pool::__construct — Creates a new Pool ...
-
https://man.mtool.work/php/8.3/class.pool.html
- Creates a new Pool of Workers 11280
- « Pool::collect Pool::resize » PHP Manual Pool Creates a new Pool of Workers 検索 Pool::__construct (PECL pthreads >= 2.0.0) Pool::__construct — Creates a new Pool of Workers 説明 public function Pool::__construct ( int $size , string $clas
... s = ? , array $ctor = ? ) Construct a new pool of workers. Pools lazily create their threads, which means new threads will only be spawned when they are required to execute tasks. ... パラメータ size The maximum number of workers for this pool to create class The class for new Workers. If no class is given, then it defaults to the Worker class. ctor ... An array of arguments to be passed to new workers' constructors 例 例1 Creating Pools <?php class MyWorker extends Worker { public function __construct ( Something $somethi ...
-
https://man.mtool.work/php/8.3/pool.construct.html
- Creates a new Pool of Workers 11280
- « Pool::collect Pool::resize » PHP Manual Pool Creates a new Pool of Workers 検索 Pool::__construct (PECL pthreads >= 2.0.0) Pool::__construct — Creates a new Pool of Workers 説明 public function Pool::__construct ( int $size , string $clas
... s = ? , array $ctor = ? ) Construct a new pool of workers. Pools lazily create their threads, which means new threads will only be spawned when they are required to execute tasks. ... パラメータ size The maximum number of workers for this pool to create class The class for new Workers. If no class is given, then it defaults to the Worker class. ctor ... An array of arguments to be passed to new workers' constructors 例 例1 Creating Pools <?php class MyWorker extends Worker { public function __construct ( Something $somethi ...
-
https://man.mtool.work/php/8.3/pool.construct.html
- Shutdown all workers 8944
- « Pool::resize Pool::submit » PHP Manual Pool Shutdown all workers 検索 Pool::shutdown (PECL pthreads >= 2.0.0) Pool::shutdown — Shutdown all workers 説明 public function Pool::shutdown (): void Shuts down all of the workers in the pool. Th
... ew Task ()); } $pool -> shutdown (); // blocks until all submitted tasks have finished executing 関連キーワード: Pool pool workers shutdown Shutdown submit function down until submitted tasks パラメータ Task new resize Search pthreads void Shuts block ...
-
https://man.mtool.work/php/8.3/pool.shutdown.html
- Shutdown all workers 8944
- « Pool::resize Pool::submit » PHP Manual Pool Shutdown all workers 検索 Pool::shutdown (PECL pthreads >= 2.0.0) Pool::shutdown — Shutdown all workers 説明 public function Pool::shutdown (): void Shuts down all of the workers in the pool. Th
... ew Task ()); } $pool -> shutdown (); // blocks until all submitted tasks have finished executing 関連キーワード: Pool pool workers shutdown Shutdown submit down until submitted tasks Task resize pthreads Shuts block executed Shutting extends Threaded us ...
-
https://man.mtool.work/php/8.3/pool.shutdown.html
- 単一の行を取得する 8867
- « SqlStatementResult::fetchAll SqlStatementResult::getAffectedItemsCount » PHP Manual mysql_xdevapi\SqlStatementResult 単一の行を取得する 検索 SqlStatementResult::fetchOne (No version information available, might only be in Git) SqlStatemen
... dbtest" )-> execute (); $session -> sql ( "CREATE DATABASE dbtest" )-> execute (); $session -> sql ( "CREATE TABLE dbtest.workers(name text, age int, job text)" )-> execute (); $session -> sql ( "INSERT INTO dbtest.workers values ('John', 42, 'bricklay ... ), ('Sam', 33, 'carpenter')" )-> execute (); $schema = $session -> getSchema ( "dbtest" ); $table = $schema -> getTable ( "workers" ); $rows = $session -> sql ( "SELECT * FROM dbtest.workers" )-> execute ()-> fetchOne (); print_r ( $rows ); ?> 上の例の出 ... ohn [age] => 42 [job] => bricklayer ) 関連キーワード: SqlStatementResult session dbtest fetchOne sql execute mysql xdevapi workers 結果 パラメータ name text age job John bricklayer schema rows fetchAll ...
-
https://man.mtool.work/php/8.3/mysql-xdevapi-sqlstatementresult.fetchone.html
- Give the worker an identifier so it can be tracked when asking gearmand for the ... 8821
- « GearmanWorker::returnCode GearmanWorker::setOptions » PHP Manual GearmanWorker Give the worker an identifier so it can be tracked when asking gearmand for the list of available workers 検索 GearmanWorker::setId (No version information ava
... ) GearmanWorker::setId — Give the worker an identifier so it can be tracked when asking gearmand for the list of available workers 説明 public function GearmanWorker::setId ( string $id ): bool Assigns the worker an identifier. パラメータ id A string id ... (); $worker -> setId ( 'test' ); ?> 上の例の出力は、 たとえば以下のようになります。 Run the following command: gearadmin --workers Output: 30 ::3a3a:3361:3361:3a33%976303667 - : test 関連キーワード: GearmanWorker worker identifier setId available worker ...
-
https://man.mtool.work/php/8.3/gearmanworker.setid.html
- Give the worker an identifier so it can be tracked when asking gearmand for the ... 8821
- « GearmanWorker::returnCode GearmanWorker::setOptions » PHP Manual GearmanWorker Give the worker an identifier so it can be tracked when asking gearmand for the list of available workers 検索 GearmanWorker::setId (No version information ava
... ) GearmanWorker::setId — Give the worker an identifier so it can be tracked when asking gearmand for the list of available workers 説明 public function GearmanWorker::setId ( string $id ): bool Assigns the worker an identifier. パラメータ id A string id ... (); $worker -> setId ( 'test' ); ?> 上の例の出力は、 たとえば以下のようになります。 Run the following command: gearadmin --workers Output: 30 ::3a3a:3361:3361:3a33%976303667 - : test 関連キーワード: GearmanWorker worker identifier setId available worker ...
-
https://man.mtool.work/php/8.3/gearmanworker.setid.html
- 単一の行を取得する 8821
- « SqlStatementResult::fetchAll SqlStatementResult::getAffectedItemsCount » PHP Manual mysql_xdevapi\SqlStatementResult 単一の行を取得する 検索 SqlStatementResult::fetchOne (No version information available, might only be in Git) SqlStatemen
... dbtest" )-> execute (); $session -> sql ( "CREATE DATABASE dbtest" )-> execute (); $session -> sql ( "CREATE TABLE dbtest.workers(name text, age int, job text)" )-> execute (); $session -> sql ( "INSERT INTO dbtest.workers values ('John', 42, 'bricklay ... ), ('Sam', 33, 'carpenter')" )-> execute (); $schema = $session -> getSchema ( "dbtest" ); $table = $schema -> getTable ( "workers" ); $rows = $session -> sql ( "SELECT * FROM dbtest.workers" )-> execute ()-> fetchOne (); print_r ( $rows ); ?> 上の例の出 ... => John [age] => 42 [job] => bricklayer ) 関連キーワード: SqlStatementResult session dbtest fetchOne execute mysql xdevapi workers text John bricklayer schema rows fetchAll getAffectedItemsCount information available セット 一行 詳細 記述 連想 getSessio ...
-
https://man.mtool.work/php/8.3/mysql-xdevapi-sqlstatementresult.fetchone.html