private static void sendRequestControlRequest(ServerAdminTool serverAdminTool, DataNodeId dataNodeId,
      PartitionId partitionId, RequestOrResponseType toControl, boolean enable) throws IOException, TimeoutException {
    ServerErrorCode errorCode = serverAdminTool.controlRequest(dataNodeId, partitionId, toControl, enable);
    if (errorCode == ServerErrorCode.NoError) {
      LOGGER.info("{} enable state has been set to {} for {} on {}", toControl, enable, partitionId, dataNodeId);
    } else {
      LOGGER.error("From {}, received server error code {} for request to set enable state {} for {} on {}", dataNodeId,
          errorCode, enable, toControl, partitionId);
    }
  }
Sends a {@link RequestControlAdminRequest} to {@code dataNodeId} to set enable status of {@code toControl} to
{@code enable} for {@code partitionId}.
@param serverAdminTool the {@link ServerAdminTool} instance to use.
@param dataNodeId the {@link DataNodeId} to send the request to.
@param partitionId the partition id (string) on which the operation will take place. Can be {@code null}.
@param toControl the {@link RequestOrResponseType} to control.
@param enable the enable (or disable) status required for {@code toControl}.
@throws IOException
@throws TimeoutException
ambry-tools/src/main/java/com/github/ambry/tools/admin/ServerAdminTool.java