@InterfaceAudience.Private public class FlushRegionCallable extends RegionAdminServiceCallable<org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.FlushRegionResponse>
connection, location, replicaId, row, rpcControllerFactory, stub, tableName
构造器和说明 |
---|
FlushRegionCallable(ClusterConnection connection,
RpcControllerFactory rpcControllerFactory,
RegionInfo regionInfo,
boolean writeFlushWalMarker) |
FlushRegionCallable(ClusterConnection connection,
RpcControllerFactory rpcControllerFactory,
TableName tableName,
byte[] regionName,
byte[] regionStartKey,
boolean writeFlushWalMarker) |
限定符和类型 | 方法和说明 |
---|---|
protected org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.FlushRegionResponse |
call(HBaseRpcController controller)
Run RPC call.
|
void |
prepare(boolean reload)
Prepare by setting up any connections to servers, etc., ahead of call invocation.
|
call, getExceptionMessage, getExceptionMessageAdditionalDetail, getLocation, getRegionLocations, setStub, sleep, throwable
public FlushRegionCallable(ClusterConnection connection, RpcControllerFactory rpcControllerFactory, TableName tableName, byte[] regionName, byte[] regionStartKey, boolean writeFlushWalMarker)
public FlushRegionCallable(ClusterConnection connection, RpcControllerFactory rpcControllerFactory, RegionInfo regionInfo, boolean writeFlushWalMarker)
public void prepare(boolean reload) throws IOException
RetryingCallable
prepare
在接口中 RetryingCallable<org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.FlushRegionResponse>
prepare
在类中 RegionAdminServiceCallable<org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.FlushRegionResponse>
reload
- Set this to true if need to requery locationsIOException
- eprotected org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.FlushRegionResponse call(HBaseRpcController controller) throws Exception
RegionAdminServiceCallable
call
在类中 RegionAdminServiceCallable<org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.FlushRegionResponse>
controller
- PayloadCarryingRpcController is a mouthful but it at a minimum is a
facade on protobuf so we don't have to put protobuf everywhere; we can keep it behind this
class.Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.