public interface ProcessDestroyer
Process after a certain event,
typically when the VM exitsShutdownHookProcessDestroyer| Modifier and Type | Method and Description |
|---|---|
boolean |
add(java.lang.Process process)
Returns
true if the specified
Process was
successfully added to the list of processes to be destroy. |
boolean |
remove(java.lang.Process process)
Returns
true if the specified
Process was
successfully removed from the list of processes to be destroy. |
int |
size()
Returns the number of registered processes.
|
boolean add(java.lang.Process process)
true if the specified
Process was
successfully added to the list of processes to be destroy.process - the process to addtrue if the specified
Process was
successfully addedboolean remove(java.lang.Process process)
true if the specified
Process was
successfully removed from the list of processes to be destroy.process - the process to removetrue if the specified
Process was
successfully removedint size()
Copyright © 2010 - 2023 Adobe. All Rights Reserved