@Override
public FServerReportResponse fServerReport(RpcController controller,
FServerReportRequest request) throws ServiceException {
try {
ServerLoadProtos sl = request.getLoad();
this.serverManager.fserverReport(
ProtobufUtil.toServerName(request.getServer()), new ServerLoad(sl));
// Up our metrics.
if (sl != null && this.metricsMaster != null) {
this.metricsMaster.incrementRequests(sl.getTotalNumberOfRequests());
}
} catch (IOException ioe) {
throw new ServiceException(ioe);
}