C# Class Aegis.Data.MySQL.ConnectionPool

Afficher le fichier Open project: SyncZone/AegisFramework Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
GetDBC ( ) : DBConnector
PingTest ( ) : void
ReturnDBC ( DBConnector dbc ) : void

Method Details

ConnectionPool() public méthode

public ConnectionPool ( ) : System
Résultat System

ConnectionPool() public méthode

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
Résultat System

GetTotalQPS() public méthode

public GetTotalQPS ( ) : int
Résultat int

IncreasePool() public méthode

public IncreasePool ( int count ) : void
count int
Résultat void

Initialize() public méthode

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
Résultat void

NewCommand() public méthode

public NewCommand ( int timeoutSec = 60 ) : DBCommand
timeoutSec int
Résultat DBCommand

Release() public méthode

public Release ( ) : void
Résultat void