org.apache.hadoop.hbase.hbql.client
Class HConnectionPoolManager

java.lang.Object
  extended by org.apache.hadoop.hbase.hbql.client.HConnectionPoolManager

public class HConnectionPoolManager
extends Object


Constructor Summary
HConnectionPoolManager()
           
 
Method Summary
static HConnectionPool getConnectionPool(String name)
           
static int getMaxPoolReferencesPerTablePerConnection()
           
static HConnectionPool newConnectionPool(int initialPoolSize, int maxPoolSize)
           
static HConnectionPool newConnectionPool(int initialPoolSize, int maxPoolSize, org.apache.hadoop.hbase.HBaseConfiguration config)
           
static HConnectionPool newConnectionPool(int initialPoolSize, int maxPoolSize, String poolName)
           
static HConnectionPool newConnectionPool(int initialPoolSize, int maxPoolSize, String poolName, org.apache.hadoop.hbase.HBaseConfiguration config)
           
static void setMaxPoolReferencesPerTablePerConnection(int maxPoolReferencesPerTablePerConnection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HConnectionPoolManager

public HConnectionPoolManager()
Method Detail

newConnectionPool

public static HConnectionPool newConnectionPool(int initialPoolSize,
                                                int maxPoolSize)
                                         throws HBqlException
Throws:
HBqlException

newConnectionPool

public static HConnectionPool newConnectionPool(int initialPoolSize,
                                                int maxPoolSize,
                                                org.apache.hadoop.hbase.HBaseConfiguration config)
                                         throws HBqlException
Throws:
HBqlException

newConnectionPool

public static HConnectionPool newConnectionPool(int initialPoolSize,
                                                int maxPoolSize,
                                                String poolName)
                                         throws HBqlException
Throws:
HBqlException

newConnectionPool

public static HConnectionPool newConnectionPool(int initialPoolSize,
                                                int maxPoolSize,
                                                String poolName,
                                                org.apache.hadoop.hbase.HBaseConfiguration config)
                                         throws HBqlException
Throws:
HBqlException

getMaxPoolReferencesPerTablePerConnection

public static int getMaxPoolReferencesPerTablePerConnection()

setMaxPoolReferencesPerTablePerConnection

public static void setMaxPoolReferencesPerTablePerConnection(int maxPoolReferencesPerTablePerConnection)

getConnectionPool

public static HConnectionPool getConnectionPool(String name)


Copyright © 2011. All Rights Reserved.