All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.mike10004.nativehelper.subprocess.ProcessDestructor Maven / Gradle / Ivy

There is a newer version: 10.0.0
Show newest version
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