接口 ProcessDestroyer

所有已知实现类:
ShutdownHookProcessDestroyer

public interface ProcessDestroyer
Description: Title:首亨软件 - CRM、TSS、ERP等信息化管理软件
  • 方法概要

    修饰符和类型
    方法
    说明
    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
    Returns the number of registered processes.
  • 方法详细资料

    • add

      boolean add(Process process)
      Returns 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 added
    • remove

      boolean remove(Process process)
      Returns 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 removed
    • size

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