org.apache.hadoop.ipc
Class HBaseClient

java.lang.Object
  extended by org.apache.hadoop.ipc.Client
      extended by org.apache.hadoop.ipc.HBaseClient

public class HBaseClient
extends org.apache.hadoop.ipc.Client

Subclass of hadoop's Client just so we can make some methods accessible in HbaseRPC


Field Summary
 
Fields inherited from class org.apache.hadoop.ipc.Client
LOG
 
Constructor Summary
HBaseClient(Class<?> valueClass, org.apache.hadoop.conf.Configuration conf)
           
HBaseClient(Class valueClass, org.apache.hadoop.conf.Configuration conf, SocketFactory factory)
           
 
Method Summary
 void decCount()
           
 SocketFactory getSocketFactory()
           
 void incCount()
           
 boolean isZeroReference()
           
 
Methods inherited from class org.apache.hadoop.ipc.Client
call, call, call, setTimeout, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HBaseClient

public HBaseClient(Class valueClass,
                   org.apache.hadoop.conf.Configuration conf,
                   SocketFactory factory)

HBaseClient

public HBaseClient(Class<?> valueClass,
                   org.apache.hadoop.conf.Configuration conf)
Method Detail

incCount

public void incCount()
Overrides:
incCount in class org.apache.hadoop.ipc.Client

decCount

public void decCount()
Overrides:
decCount in class org.apache.hadoop.ipc.Client

isZeroReference

public boolean isZeroReference()
Overrides:
isZeroReference in class org.apache.hadoop.ipc.Client

getSocketFactory

public SocketFactory getSocketFactory()
Overrides:
getSocketFactory in class org.apache.hadoop.ipc.Client


Copyright © 2008 The Apache Software Foundation