protected class RSProcedureDispatcher.ExecuteProceduresRemoteCall extends RSProcedureDispatcher.AbstractRSRemoteCall
Modifier and Type | Field and Description |
---|---|
protected Set<RemoteProcedureDispatcher.RemoteProcedure> |
remoteProcedures |
protected 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) |
void |
dispatchServerOperations(MasterProcedureEnv env,
List<RSProcedureDispatcher.ServerOperation> operations) |
protected void |
remoteCallFailed(MasterProcedureEnv env,
IOException e) |
void |
run() |
protected AdminProtos.ExecuteProceduresResponse |
sendRequest(ServerName serverName,
AdminProtos.ExecuteProceduresRequest request) |
getRsAdmin, getServerName, scheduleForRetry, unwrapException
protected final Set<RemoteProcedureDispatcher.RemoteProcedure> remoteProcedures
protected AdminProtos.ExecuteProceduresRequest.Builder request
public ExecuteProceduresRemoteCall(ServerName serverName, Set<RemoteProcedureDispatcher.RemoteProcedure> remoteProcedures)
public void dispatchOpenRequests(MasterProcedureEnv env, List<RSProcedureDispatcher.RegionOpenOperation> operations)
public void dispatchCloseRequests(MasterProcedureEnv env, List<RSProcedureDispatcher.RegionCloseOperation> operations)
public void dispatchServerOperations(MasterProcedureEnv env, List<RSProcedureDispatcher.ServerOperation> operations)
protected AdminProtos.ExecuteProceduresResponse sendRequest(ServerName serverName, AdminProtos.ExecuteProceduresRequest request) throws IOException
IOException
protected void remoteCallFailed(MasterProcedureEnv env, IOException e)
Copyright © 2007–2019 Cloudera. All rights reserved.