Interface ProcessDestroyer

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean add​(java.lang.Process process)
      Returns true if the specified Process was successfully added to the list of processes to be destroyed.
      boolean remove​(java.lang.Process process)
      Returns true if the specified Process was successfully removed from the list of processes to be destroyed.
      int size()
      Returns the number of registered processes.
    • Method Detail

      • add

        boolean add​(java.lang.Process process)
        Returns true if the specified Process was successfully added to the list of processes to be destroyed.
        Parameters:
        process - the process to add.
        Returns:
        true if the specified Process was successfully added.
      • remove

        boolean remove​(java.lang.Process process)
        Returns true if the specified Process was successfully removed from the list of processes to be destroyed.
        Parameters:
        process - the process to remove.
        Returns:
        true if the specified Process was successfully removed.
      • size

        int size()
        Returns the number of registered processes.
        Returns:
        the number of register process.