}
private TEnqueueTaskReservationsRequest createTaskReservationRequest(
int numTasks, TaskScheduler scheduler, String userId, int priority) {
String idStr = Integer.toString(requestId++);
TUserGroupInfo user = new TUserGroupInfo(userId, "group", priority);
THostPort schedulerAddress = new THostPort("1.2.3.4", 52);
return new TEnqueueTaskReservationsRequest(
"appId", user, idStr, schedulerAddress, numTasks);
}