K2hash::setCommonAttribute K2hash Class K2hash::setValue

K2hash::setTransactionThreadPool

Sets the number of transaction workers

Description

 public static bool K2hash::setTransactionThreadPool ( int $count )

Sets the number of transaction workers.

Parameters

Return Values

Returns true on success or false on failure.

Examples

<?php
var_dump(K2hash::settransactionThreadPool(1));
var_dump(K2hash::gettransactionThreadPool());
?>

The above example will output:

bool(true)
int(1)

See Also

K2hash::setCommonAttribute K2hash Class K2hash::setValue