APISonar


com.linkedin.kafka.cruisecontrol.servlet.parameters.UserTasksParameters.json

> com > linkedin > kafka > cruisecontrol > servlet > parameters > UserTasksParameters > json
com APIs linkedin APIs kafka APIs cruisecontrol APIs servlet APIs parameters APIs UserTasksParameters APIs json APIs

Example 1
protected void discardIrrelevantAndCacheRelevant(CruiseControlParameters parameters) {
    UserTasksParameters userTasksParameters = (UserTasksParameters) parameters;
    _cachedResponse = userTasksParameters.json() ? getJSONString(userTasksParameters) :
                                                   getPlaintext(userTasksParameters);
    // Discard irrelevant response.
    _userTasks.clear();
  }