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()
Refresh on demand tasks
Refresh the tasks of all on demand workers already registered
// Import classes:
//import com.decisionbrain.optimserver.client.java.resttemplate.ApiException;
//import com.decisionbrain.optimserver.client.java.resttemplate.api.ConfigurationApi;
ConfigurationApi apiInstance = new ConfigurationApi();
try {
apiInstance.refreshOnDemandTasks();
} catch (ApiException e) {
System.err.println("Exception when calling ConfigurationApi#refreshOnDemandTasks");
e.printStackTrace();
}
This endpoint does not need any parameter.
null (empty response body)
No authorization required