libasynql
3.2.0
Asynchronous MySQL access library for PocketMine plugins.
|
Public Member Functions | |
__construct (MysqlCredentials $credentials, QuerySendQueue $bufferSend=null, QueryRecvQueue $bufferRecv=null) | |
getThreadName () | |
Public Member Functions inherited from SqlSlaveThread | |
run () | |
isWorking () | |
stopRunning () | |
quit () | |
addQuery (int $queryId, int $mode, string $query, array $params) | |
readResults (array &$callbacks) | |
connCreated () | |
hasConnError () | |
getConnError () | |
Public Member Functions inherited from SqlThread | |
join () | |
Static Public Member Functions | |
static | createFactory (MysqlCredentials $credentials) |
Protected Member Functions | |
executeQuery ($mysqli, int $mode, string $query, array $params) | |
close (&$mysqli) | |
Protected Member Functions inherited from SqlSlaveThread | |
createConn (&$resource) | |
executeQuery ($resource, int $mode, string $query, array $params) | |
close (&$resource) | |
Additional Inherited Members | |
Data Fields inherited from SqlThread | |
const | MODE_GENERIC = 0 |
const | MODE_CHANGE = 1 |
const | MODE_INSERT = 2 |
const | MODE_SELECT = 3 |
Protected Attributes inherited from SqlSlaveThread | |
$slaveNumber | |
$bufferSend | |
$bufferRecv | |
$connCreated = false | |
$connError | |
$working = false | |
Definition at line 54 of file MysqliThread.php.
__construct | ( | MysqlCredentials | $credentials, |
QuerySendQueue | $bufferSend = null , |
||
QueryRecvQueue | $bufferRecv = null |
||
) |
Definition at line 64 of file MysqliThread.php.
|
protected |
Definition at line 225 of file MysqliThread.php.
|
static |
Definition at line 58 of file MysqliThread.php.
|
protected |
Definition at line 80 of file MysqliThread.php.
getThreadName | ( | ) |
Definition at line 230 of file MysqliThread.php.