Package org.apache.commons.pool.impl

Examples of org.apache.commons.pool.impl.GenericObjectPool.returnObject()


      }
      finally
      {
        if(container != null)
        {
          pool.returnObject(container);
        }
                _log.trace("Processed '%s' (%s, %s) in %dms", new Object[] {
                           message.getMethod(), message.getSession().getId(),
                           message.getCallId(), System.currentTimeMillis() - beginTime });
      }
View Full Code Here


 
  public void putTable(HTableInterface table) {
    String tableName = Bytes.toString(table.getTableName());
    GenericObjectPool pool = this.tablePools.get(tableName);
    try {
      pool.returnObject(table);
    } catch (Exception e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.