Modifier and Type | Class and Description |
---|---|
static class |
Watchdog.Group
Groups indices
|
class |
Watchdog.WatchdogGroup
WatchdogGroup is a group of objects that are monitored by the Watchdog.
|
static class |
Watchdog.WatchedObject
Object watched by the Watchdog - WatchedObject is used to watch NIO connections
|
Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
Watchdog(String name,
long requestTimeout,
long listeningTimeout,
long idleTimeout,
int timeoutResolution,
boolean protocolValidationEnabled)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static Watchdog.WatchdogGroup |
getGroup(Watchdog.Group group)
Get WatchdogGroup and initialize singleton WatchDog daemon per JVM.
|
void |
run()
Watchdog main method.
|
static void |
shutdown()
Shuts down the watchdog if operation, this is irreversable process.
|
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
public Watchdog(String name, long requestTimeout, long listeningTimeout, long idleTimeout, int timeoutResolution, boolean protocolValidationEnabled)
public static Watchdog.WatchdogGroup getGroup(Watchdog.Group group)
public static void shutdown()
public void run()
Copyright © GigaSpaces.