|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProcessDestroyer
Destroys all registered Process after a certain event,
typically when the VM exits
ShutdownHookProcessDestroyer| Method Summary | |
|---|---|
boolean |
add(Process process)
Returns true if the specified
Process was
successfully added to the list of processes to be destroy. |
boolean |
remove(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. |
| Method Detail |
|---|
boolean add(Process process)
true if the specified
Process was
successfully added to the list of processes to be destroy.
process - the process to add
true if the specified
Process was
successfully addedboolean remove(Process process)
true if the specified
Process was
successfully removed from the list of processes to be destroy.
process - the process to remove
true if the specified
Process was
successfully removedint size()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||