org.apache.hadoop.hbase.client
Class PayloadCarryingServerCallable<T>
java.lang.Object
org.apache.hadoop.hbase.client.RegionServerCallable<T>
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.
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 |
controller
protected PayloadCarryingRpcController controller
PayloadCarryingServerCallable
public PayloadCarryingServerCallable(HConnection connection,
TableName tableName,
byte[] row,
RpcControllerFactory rpcControllerFactory)
cancel
public void cancel()
isCancelled
public boolean isCancelled()
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.