14 lines
374 B
Java
14 lines
374 B
Java
package eu.openaire.urls_controller.services;
|
|
|
|
import org.springframework.http.ResponseEntity;
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
|
public interface ShutdownService {
|
|
|
|
ResponseEntity<?> passSecurityChecks(HttpServletRequest request, String initMsg);
|
|
|
|
boolean postShutdownOrCancelRequestToWorker(String workerId, String workerIp, boolean shouldCancel);
|
|
|
|
}
|