return execute(new MasterMonitorCallable<Pair<Integer, Integer>>() {
@Override
public Pair<Integer, Integer> call() throws ServiceException {
GetSchemaAlterStatusRequest req = RequestConverter
.buildGetSchemaAlterStatusRequest(tableName);
GetSchemaAlterStatusResponse ret = masterMonitor.getSchemaAlterStatus(
null, req);
Pair<Integer, Integer> pair = new Pair<Integer, Integer>(
Integer.valueOf(ret.getYetToUpdateEntityGroups()),
Integer.valueOf(ret.getTotalEntityGroups()));
return pair;
}
});
}