org.apache.hadoop.hbase.client
Class PayloadCarryingServerCallable<T>

java.lang.Object
  extended by org.apache.hadoop.hbase.client.RegionServerCallable<T>
      extended by org.apache.hadoop.hbase.client.PayloadCarryingServerCallable<T>
All Implemented Interfaces:
Callable<T>, RetryingCallable<T>

@InterfaceAudience.Private
public abstract class PayloadCarryingServerCallable<T>
extends RegionServerCallable<T>

This class is used to unify HTable calls with AsyncProcess Framework. HTable can use AsyncProcess directly though this class.


Field Summary
protected  PayloadCarryingRpcController controller
           
 
Fields inherited from class org.apache.hadoop.hbase.client.RegionServerCallable
connection, location, MIN_WAIT_DEAD_SERVER, row, serverHasMoreResults, serverHasMoreResultsContext, tableName
 
Constructor Summary
PayloadCarryingServerCallable(HConnection connection, TableName tableName, byte[] row, RpcControllerFactory rpcControllerFactory)
           
 
Method Summary
 void cancel()
           
 boolean isCancelled()
           
 
Methods inherited from class org.apache.hadoop.hbase.client.RegionServerCallable
getExceptionMessageAdditionalDetail, getHRegionInfo, getLocation, getRow, getServerHasMoreResults, getStub, getTableName, hasMoreResultsContext, prepare, setHasMoreResultsContext, setLocation, setServerHasMoreResults, sleep, throwable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.concurrent.Callable
call
 

Field Detail

controller

protected PayloadCarryingRpcController controller
Constructor Detail

PayloadCarryingServerCallable

public PayloadCarryingServerCallable(HConnection connection,
                                     TableName tableName,
                                     byte[] row,
                                     RpcControllerFactory rpcControllerFactory)
Method Detail

cancel

public void cancel()

isCancelled

public boolean isCancelled()


Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.