public class HBaseManagedConnection
extends org.datanucleus.store.connection.AbstractManagedConnection
| Constructor and Description |
|---|
HBaseManagedConnection(org.apache.hadoop.hbase.client.HTablePool pool) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
dispose() |
Object |
getConnection() |
org.apache.hadoop.hbase.client.HTableInterface |
getHTable(String tableName) |
XAResource |
getXAResource() |
protected void |
incrementUseCount() |
boolean |
isDisposed() |
boolean |
isExpired() |
void |
release() |
void |
setIdleTimeoutMills(int mills) |
public HBaseManagedConnection(org.apache.hadoop.hbase.client.HTablePool pool)
public Object getConnection()
public org.apache.hadoop.hbase.client.HTableInterface getHTable(String tableName)
public XAResource getXAResource()
getXAResource in interface org.datanucleus.store.connection.ManagedConnectiongetXAResource in class org.datanucleus.store.connection.AbstractManagedConnectionpublic void close()
protected void incrementUseCount()
incrementUseCount in class org.datanucleus.store.connection.AbstractManagedConnectionpublic void release()
release in interface org.datanucleus.store.connection.ManagedConnectionrelease in class org.datanucleus.store.connection.AbstractManagedConnectionpublic void setIdleTimeoutMills(int mills)
public boolean isExpired()
public void dispose()
public boolean isDisposed()
Copyright © 2014. All Rights Reserved.