@Override
public RefreshQueuesResponseProto refreshQueues(RpcController controller,
RefreshQueuesRequestProto proto) throws ServiceException {
RefreshQueuesRequestPBImpl request = new RefreshQueuesRequestPBImpl(proto);
try {
RefreshQueuesResponse response = real.refreshQueues(request);
return ((RefreshQueuesResponsePBImpl)response).getProto();
} catch (YarnRemoteException e) {
throw new ServiceException(e);
}
}