com.github.mike10004.nativehelper.subprocess.ProcessDestructor Maven / Gradle / Ivy
package com.github.mike10004.nativehelper.subprocess;
/**
* Service class used to destroy a single process.
*/
public interface ProcessDestructor {
/**
* Sends SIGTERM or equivalent to a process.
* @return a termination attempt instance
*/
DestroyAttempt.TermAttempt sendTermSignal();
/**
* Sends SIGKILL or equivalent to a process.
* @return a kill attempt instance
*/
DestroyAttempt.KillAttempt sendKillSignal();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy