Class HBaseConnectionHolder

java.lang.Object
io.datarouter.client.hbase.client.HBaseConnectionHolder

@Singleton
public class HBaseConnectionHolder
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    HBaseConnectionHolder()  
  • Method Summary

    Modifier and Type Method Description
    org.apache.hadoop.hbase.client.Connection getConnection​(io.datarouter.storage.client.ClientId clientId)  
    void register​(io.datarouter.storage.client.ClientId clientId, org.apache.hadoop.hbase.client.Connection connection)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • register

      public void register​(io.datarouter.storage.client.ClientId clientId, org.apache.hadoop.hbase.client.Connection connection)
    • getConnection

      public org.apache.hadoop.hbase.client.Connection getConnection​(io.datarouter.storage.client.ClientId clientId)