|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectopenr66.protocol.utils.OpenR66SignalHandler
public class OpenR66SignalHandler
Signal Handler to allow trapping signals.
Nested Class Summary | |
---|---|
static class |
OpenR66SignalHandler.R66TimerTask
Finalize resources attached to handlers |
Field Summary |
---|
Fields inherited from interface sun.misc.SignalHandler |
---|
SIG_DFL, SIG_IGN |
Constructor Summary | |
---|---|
OpenR66SignalHandler()
|
Method Summary | |
---|---|
void |
handle(sun.misc.Signal signal)
Handle signal |
static void |
initSignalHandler()
Function to initialized the SignalHandler |
static boolean |
isInShutdown()
Says if the Process is currently in shutdown |
static void |
launchFinalExit()
|
static void |
printStackTrace(Thread thread,
StackTraceElement[] stacks)
Print stack trace |
static void |
terminate(boolean immediateSet)
This function is the top function to be called when the process is to be shutdown. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OpenR66SignalHandler()
Method Detail |
---|
public static boolean isInShutdown()
public static void terminate(boolean immediateSet)
immediateSet
- public static void printStackTrace(Thread thread, StackTraceElement[] stacks)
thread
- stacks
- public static void launchFinalExit()
public static void initSignalHandler()
public void handle(sun.misc.Signal signal)
handle
in interface sun.misc.SignalHandler
signal
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |