public class MessagingServiceShutdownHook extends Thread implements ZooKeeperSessionWatcher.ShutdownService
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
MessagingServiceShutdownHook(PulsarService service,
Consumer<Integer> processTerminator) |
| Modifier and Type | Method and Description |
|---|---|
static void |
immediateFlushBufferedLogs() |
void |
run() |
void |
shutdown(int exitCode) |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic MessagingServiceShutdownHook(PulsarService service, Consumer<Integer> processTerminator)
public void run()
public void shutdown(int exitCode)
shutdown in interface ZooKeeperSessionWatcher.ShutdownServicepublic static void immediateFlushBufferedLogs()
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.