| 1262 | } |
| 1263 | |
| 1264 | time_t ConnectionsPool::getIdleExpireTime() |
| 1265 | { |
| 1266 | if (!m_idleList) |
| 1267 | return 0; |
| 1268 | |
| 1269 | MutexLockGuard guard(m_mutex, FB_FUNCTION); |
| 1270 | if (!m_idleList) |
| 1271 | return 0; |
| 1272 | |
| 1273 | return m_idleList->m_prev->m_lastUsed + m_lifeTime; |
| 1274 | } |
| 1275 | |
| 1276 | bool ConnectionsPool::checkBoundConnection(thread_db* tdbb, Connection* conn) |
| 1277 | { |