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