ConfigurationApi

All URIs are relative to the master’s API URL

Method HTTP request Description
refreshOnDemandTasks PUT /configuration/on-demand/tasks/refresh Refresh on demand tasks

refreshOnDemandTasks

refreshOnDemandTasks()

Refresh on demand tasks

Refresh the tasks of all on demand workers already registered

Example

// Import classes:
//import com.decisionbrain.optimserver.client.java.jersey2.ApiException;
//import com.decisionbrain.optimserver.client.java.jersey2.api.ConfigurationApi;


ConfigurationApi apiInstance = new ConfigurationApi();
try {
    apiInstance.refreshOnDemandTasks();
} catch (ApiException e) {
    System.err.println("Exception when calling ConfigurationApi#refreshOnDemandTasks");
    e.printStackTrace();
}

Parameters

This endpoint does not need any parameter.

Return type

null (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined