Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * JBoss, Home of Professional Open Source.
  * Copyright 2006, Red Hat Middleware LLC, and individual contributors
  * as indicated by the @author tags. See the copyright.txt file in the
  * distribution for a full listing of individual contributors.
  *
  * This is free software; you can redistribute it and/or modify it
  * under the terms of the GNU Lesser General Public License as
  * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 */
package org.jboss.resource.statistic.pool;
A ManagedConnectionPoolStatistics.

Author(s):
Weston Price
Version:
$Revision: 71554 $
{
  
   
Get the name of the managed connection pool as a string.

Returns:
the name of the managed connection pool.
   public String getName();
   
   
Set the name of the managed connection pool

Parameters:
name the name of the managed connection pool.
   public void setName(String name);
   
   
Get the number of sub pools.

Returns:
the number of sub pools.
   public int getSubPoolCount();

   
Get the total maximum connections used count

Returns:
the total maximum connections used count.
   public int getTotalMaxConnectionsInUseCount();

   
Get the total connections in use count.

Returns:
the total connections in use count.
   public int getTotalConnectionsInUseCount();

   
   
Get the minimum connections for all pools

Returns:
the minimum connections for all pools
   public int getMin();
   public void setMin(int min);
   public int getMax();
   public void setMax(int max);
   public long getBlockingTimeout();
   public void setBlockingTimeout(long blockTime);
   public long getIdleTimeout();
   public void setIdleTimeout(long idleTimeout);
   public String getCriteria();
   public void setCriteria(String criteria);
   public boolean getTrackByTxn();
   public void setTrackByTxn(boolean trackByTxn);
   public boolean getNoTxnSeperatePool();
   public void setNoTxnSeperatePool(boolean noTxnSeperatePool);
   public void setPrefill(boolean prefill);
   public boolean getPrefill();
   public void addSubPool(JBossStatistics subPool);
   public Collection getSubPools();
   
New to GrepCode? Check out our FAQ X