Interface ProcessDestroyer
- All Known Implementing Classes:
ShutdownHookProcessDestroyer
public interface ProcessDestroyer
Destroys all registered
Process after a certain event,
typically when the VM exits- Version:
- $Id: ProcessDestroyer.java 1636056 2014-11-01 21:12:52Z ggregory $
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturnstrueif the specifiedProcesswas successfully added to the list of processes to be destroy.booleanReturnstrueif the specifiedProcesswas successfully removed from the list of processes to be destroy.intsize()Returns the number of registered processes.
-
Method Details
-
add
-
remove
-
size
-