C# Class MySql.Data.MySqlClient.MySqlPoolManager

Summary description for MySqlPoolManager.
Show file Open project: elevate/mysqlconnector-.net Class Usage Examples

Public Methods

Method Description
CleanIdleConnections ( object obj ) : void

Remove drivers that have been idle for too long.

ClearAllPools ( ) : void
ClearPool ( MySqlConnectionStringBuilder settings ) : void
GetPool ( MySqlConnectionStringBuilder settings ) : MySqlPool
ReleaseConnection ( Driver driver ) : void
RemoveClearedPool ( MySqlPool pool ) : void
RemoveConnection ( Driver driver ) : void

Private Methods

Method Description
ClearPoolByText ( string key ) : void

Method Details

CleanIdleConnections() public static method

Remove drivers that have been idle for too long.
public static CleanIdleConnections ( object obj ) : void
obj object
return void

ClearAllPools() public static method

public static ClearAllPools ( ) : void
return void

ClearPool() public static method

public static ClearPool ( MySqlConnectionStringBuilder settings ) : void
settings MySqlConnectionStringBuilder
return void

GetPool() public static method

public static GetPool ( MySqlConnectionStringBuilder settings ) : MySqlPool
settings MySqlConnectionStringBuilder
return MySqlPool

ReleaseConnection() public static method

public static ReleaseConnection ( Driver driver ) : void
driver Driver
return void

RemoveClearedPool() public static method

public static RemoveClearedPool ( MySqlPool pool ) : void
pool MySqlPool
return void

RemoveConnection() public static method

public static RemoveConnection ( Driver driver ) : void
driver Driver
return void