protected class RSProcedureDispatcher.ExecuteProceduresRemoteCall extends RSProcedureDispatcher.AbstractRSRemoteCall implements RSProcedureDispatcher.RemoteProcedureResolver
Modifier and Type | Field and Description |
---|---|
protected Set<RemoteProcedureDispatcher.RemoteProcedure> |
remoteProcedures |
protected org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresRequest.Builder |
request |
Constructor and Description |
---|
ExecuteProceduresRemoteCall(ServerName serverName,
Set<RemoteProcedureDispatcher.RemoteProcedure> remoteProcedures) |
Modifier and Type | Method and Description |
---|---|
void |
dispatchCloseRequests(MasterProcedureEnv env,
List<RSProcedureDispatcher.RegionCloseOperation> operations) |
void |
dispatchOpenRequests(MasterProcedureEnv env,
List<RSProcedureDispatcher.RegionOpenOperation> operations) |
private void |
remoteCallCompleted(MasterProcedureEnv env,
org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresResponse response) |
protected void |
remoteCallFailed(MasterProcedureEnv env,
IOException e) |
void |
run() |
protected org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresResponse |
sendRequest(ServerName serverName,
org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresRequest request) |
getRsAdmin, getServerName, scheduleForRetry, unwrapException
protected final Set<RemoteProcedureDispatcher.RemoteProcedure> remoteProcedures
protected org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresRequest.Builder request
public ExecuteProceduresRemoteCall(ServerName serverName, Set<RemoteProcedureDispatcher.RemoteProcedure> remoteProcedures)
public void dispatchOpenRequests(MasterProcedureEnv env, List<RSProcedureDispatcher.RegionOpenOperation> operations)
dispatchOpenRequests
in interface RSProcedureDispatcher.RemoteProcedureResolver
public void dispatchCloseRequests(MasterProcedureEnv env, List<RSProcedureDispatcher.RegionCloseOperation> operations)
dispatchCloseRequests
in interface RSProcedureDispatcher.RemoteProcedureResolver
protected org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresResponse sendRequest(ServerName serverName, org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresRequest request) throws IOException
IOException
private void remoteCallCompleted(MasterProcedureEnv env, org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.ExecuteProceduresResponse response)
protected void remoteCallFailed(MasterProcedureEnv env, IOException e)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.