public final class IrqHandler extends Object implements sun.misc.SignalHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
IrqHandler.InterruptData
Interrupt data to pass on.
|
static interface |
IrqHandler.Interrupted
Callback on interruption
|
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTROL_C |
static String |
SIGTERM |
| Constructor and Description |
|---|
IrqHandler(String name,
IrqHandler.Interrupted handler)
Create an IRQ handler bound to the specific interrupt
|
public static final String CONTROL_C
public static final String SIGTERM
public IrqHandler(String name, IrqHandler.Interrupted handler) throws IOException
name - signal namehandler - handlerIOExceptionCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.