com.sun.jini.phoenix
Class Activation.GroupEntry.Watchdog
java.lang.Object
java.lang.Thread
com.sun.jini.phoenix.Activation.GroupEntry.Watchdog
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- Activation.GroupEntry
private class Activation.GroupEntry.Watchdog
- extends Thread
Waits for process termination and then restarts services.
Method Summary |
(package private) void |
dispose()
Marks this thread as one that is no longer needed. |
(package private) void |
noRestart()
Marks this thread as no longer needing to restart objects. |
void |
run()
|
Methods inherited from class java.lang.Thread |
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, yield |
groupProcess
private Process groupProcess
groupIncarnation
private long groupIncarnation
canInterrupt
private boolean canInterrupt
shouldQuit
private boolean shouldQuit
shouldRestart
private boolean shouldRestart
Activation.GroupEntry.Watchdog
Activation.GroupEntry.Watchdog()
run
public void run()
- Specified by:
run
in interface Runnable
- Overrides:
run
in class Thread
dispose
void dispose()
- Marks this thread as one that is no longer needed.
If the thread is in a state in which it can be interrupted,
then the thread is interrupted.
noRestart
void noRestart()
- Marks this thread as no longer needing to restart objects.
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.