Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 3
0
 def status(pool):
     return pool.size(), pool.checkedin(), pool.overflow(), \
         pool.checkedout()
Exemplo n.º 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
Exemplo n.º 5
0
 def status(pool):
     return pool.size(), pool.checkedin(), pool.overflow(), \
         pool.checkedout()