use of org.apache.mesos.v1.scheduler.Protos.Call.Request in project Singularity by HubSpot.
the class SingularityMesosSchedulerClient method request.
/**
* Sent by the scheduler to request resources from the master/allocator. The built-in hierarchical allocator simply
* ignores this request but other allocators can interpret this in a customizable fashion.
*
* @param requests
*/
public void request(List<org.apache.mesos.v1.Protos.Request> requests) {
Builder request = build().setRequest(Request.newBuilder().addAllRequests(requests));
sendCall(request, Type.REQUEST);
}
Aggregations