点击或拖拽改变大小

ConnectPoolTConnector 属性

ConnectPoolTConnector 泛型公开以下成员。

属性
  名称说明
公共属性ConectionExpireTime
获取或设置当前连接过期的时间,单位秒,默认30秒,也就是说,当前的连接在设置的时间段内未被使用,就进行释放连接,减少内存消耗。
Get or set the expiration time of the current connection, in seconds, the default is 30 seconds, that is, if the current connection is not used within the set time period, the connection will be released to reduce memory consumption.
公共属性MaxConnector
获取或设置最大的连接数,当实际的连接数超过最大的连接数的时候,就会进行阻塞,直到有新的连接对象为止。
Get or set the maximum number of connections. When the actual number of connections exceeds the maximum number of connections, it will block until there is a new connection object.
公共属性UseConnectorMax
当前已经使用的连接数的峰值,可以用来衡量当前系统的适用的连接池上限。
The current peak value of the number of connections used can be used to measure the upper limit of the applicable connection pool of the current system.
公共属性UsedConnector
当前已经使用的连接数,会根据使用的频繁程度进行动态的变化。
The number of currently used connections will dynamically change according to the frequency of use.
Top
参见