code: public List<Task> batchPollTasksByTaskType(String taskType, String workerId, int count, int timeoutInMillisecond) {
          return Lists.newArrayList(batchPollTasksByTaskTypeAsync(taskType, workerId, count, timeoutInMillisecond));
      }
docs: Perform a batch poll for tasks by task type. Batch size is configurable by count.
  
  @param taskType             Type of task to poll for
  @param workerId             Name of the client worker. Used for logging.
  @param count                Maximum number of tasks to be returned. Actual number of tasks returned can be less than this number.
  @param timeoutInMillisecond Long poll wait timeout.
  @return List of tasks awaiting to be executed.