use of com.netflix.titus.grpc.protogen.TaskRelocationExecutions in project titus-control-plane by Netflix.
the class ReactorTaskRelocationGrpcService method getLatestTaskRelocationResults.
/**
* TODO Implement filtering.
*/
public Mono<TaskRelocationExecutions> getLatestTaskRelocationResults(TaskRelocationQuery request) {
List<TaskRelocationStatus> coreResults = new ArrayList<>(relocationWorkflowExecutor.getLastEvictionResults().values());
TaskRelocationExecutions grpcResults = toGrpcTaskRelocationExecutions(coreResults);
return Mono.just(grpcResults);
}
Aggregations