点击或拖拽改变大小

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。)
Top
扩展方法
  名称说明
公共扩展器方法ToJsonString
获取当前对象的JSON格式表示的字符串。
Gets the string represented by the JSON format of the current object.
(由 HslExtension 定义。)
Top
参见