类 ShutdownUtil
java.lang.Object
org.apache.pulsar.common.util.ShutdownUtil
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static voidTriggers an immediate forceful shutdown of the current process using 1 as the status code.static voidtriggerImmediateForcefulShutdown(int status) Triggers an immediate forceful shutdown of the current process.static voidtriggerImmediateForcefulShutdown(int status, boolean logging)
-
构造器详细资料
-
ShutdownUtil
public ShutdownUtil()
-
-
方法详细资料
-
triggerImmediateForcefulShutdown
public static void triggerImmediateForcefulShutdown(int status) Triggers an immediate forceful shutdown of the current process.- 参数:
status- Termination status. By convention, a nonzero status code indicates abnormal termination.- 另请参阅:
-
triggerImmediateForcefulShutdown
public static void triggerImmediateForcefulShutdown(int status, boolean logging) -
triggerImmediateForcefulShutdown
public static void triggerImmediateForcefulShutdown()Triggers an immediate forceful shutdown of the current process using 1 as the status code.- 另请参阅:
-