ConnectPoolTConnector 方法 |
ConnectPoolTConnector 泛型公开以下成员。
名称 | 说明 | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) |
![]() | GetAvailableConnector |
获取一个可用的连接对象,如果已经达到上限,就进行阻塞等待。当使用完连接对象的时候,需要调用ReturnConnector(TConnector)方法归还连接对象。 Get an available connection object, if the upper limit has been reached, block waiting. When the connection object is used up, you need to call the ReturnConnector(TConnector) method to return the connection object. |
![]() | GetHashCode | Serves as the default hash function. (继承自 Object。) |
![]() | GetType | Gets the Type of the current instance. (继承自 Object。) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) |
![]() | ResetAllConnector |
将目前连接中的所有对象进行关闭,然后移除队列。 Close all objects in the current connection, and then remove the queue. |
![]() | ReturnConnector |
使用完之后需要通知连接池的管理器,本方法调用之前需要获取到连接对象信息。 After using it, you need to notify the manager of the connection pool, and you need to get the connection object information before calling this method. |
![]() | ToString | Returns a string that represents the current object. (继承自 Object。) |
名称 | 说明 | |
---|---|---|
![]() | ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |