C# Класс Aegis.Data.MySQL.ConnectionPool

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ConnectionPool ( ) : System
ConnectionPool ( string ipAddress, int portNo, string charSet, string dbName, string userId, string userPwd ) : System
GetTotalQPS ( ) : int
IncreasePool ( int count ) : void
Initialize ( string ipAddress, int portNo, string charSet, string dbName, string userId, string userPwd ) : void
NewCommand ( int timeoutSec = 60 ) : DBCommand
Release ( ) : void

Приватные методы

Метод Описание
GetDBC ( ) : DBConnector
PingTest ( ) : void
ReturnDBC ( DBConnector dbc ) : void

Описание методов

ConnectionPool() публичный метод

public ConnectionPool ( ) : System
Результат System

ConnectionPool() публичный метод

public ConnectionPool ( string ipAddress, int portNo, string charSet, string dbName, string userId, string userPwd ) : System
ipAddress string
portNo int
charSet string
dbName string
userId string
userPwd string
Результат System

GetTotalQPS() публичный метод

public GetTotalQPS ( ) : int
Результат int

IncreasePool() публичный метод

public IncreasePool ( int count ) : void
count int
Результат void

Initialize() публичный метод

public Initialize ( string ipAddress, int portNo, string charSet, string dbName, string userId, string userPwd ) : void
ipAddress string
portNo int
charSet string
dbName string
userId string
userPwd string
Результат void

NewCommand() публичный метод

public NewCommand ( int timeoutSec = 60 ) : DBCommand
timeoutSec int
Результат DBCommand

Release() публичный метод

public Release ( ) : void
Результат void