Exemple #1
0
 def status(pool):
     tup = pool.size(), pool.checkedin(), pool.overflow(), \
         pool.checkedout()
     print('Pool size: %d  Connections in pool: %d Current '\
         'Overflow: %d Current Checked out connections: %d' % tup)
     return tup
Exemple #2
0
 def status(pool):
     tup = pool.size(), pool.checkedin(), pool.overflow(), \
         pool.checkedout()
     print('Pool size: %d  Connections in pool: %d Current '\
         'Overflow: %d Current Checked out connections: %d' % tup)
     return tup
Exemple #3
0
 def status(pool):
     return pool.size(), pool.checkedin(), pool.overflow(), \
         pool.checkedout()
Exemple #4
0
 def status(pool):
     tup = (pool.size(), pool.checkedin(), pool.overflow(), pool.checkedout())
     print "Pool size: %d  Connections in pool: %d Current Overflow: %d Current Checked out connections: %d" % tup
     return tup
Exemple #5
0
 def status(pool):
     return pool.size(), pool.checkedin(), pool.overflow(), \
         pool.checkedout()