C# Class Aegis.Data.MySQL.ConnectionPool

显示文件 Open project: SyncZone/AegisFramework Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
GetDBC ( ) : DBConnector
PingTest ( ) : void
ReturnDBC ( DBConnector dbc ) : void

Method Details

ConnectionPool() public method

public ConnectionPool ( ) : System
return System

ConnectionPool() public method

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
return System

GetTotalQPS() public method

public GetTotalQPS ( ) : int
return int

IncreasePool() public method

public IncreasePool ( int count ) : void
count int
return void

Initialize() public method

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
return void

NewCommand() public method

public NewCommand ( int timeoutSec = 60 ) : DBCommand
timeoutSec int
return DBCommand

Release() public method

public Release ( ) : void
return void