public class SignalTermMethod extends Object implements TermMethod, sun.misc.SignalHandler
| Modifier and Type | Field and Description |
|---|---|
Boolean |
termSignalFlag |
| Constructor and Description |
|---|
SignalTermMethod() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterDestroyConsumer() |
void |
handle(sun.misc.Signal signal) |
void |
init() |
Boolean |
receiveTermSignal() |
public Boolean termSignalFlag
public void init()
public Boolean receiveTermSignal()
receiveTermSignal in interface TermMethodpublic void afterDestroyConsumer()
afterDestroyConsumer in interface TermMethodpublic void handle(sun.misc.Signal signal)
handle in interface sun.misc.SignalHandlerCopyright © 2021. All rights reserved.