public class WatcherSingleton
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Watcher |
DEFAULT_WATCHER
Watcher default instance.
|
Modifier and Type | Method and Description |
---|---|
static void |
startDefaultWatcherExecutor()
Starts the executor that periodically invokes the default watcher to report system status.
|
static void |
startDefaultWatcherTimer()
Starts the timer that periodically invokes the default watcher to report system status.
|
static void |
stopDefaultWatcherExecutor()
Stops the executor that periodically invokes the default watcher periodically.
|
static void |
stopDefaultWatcherTimer()
Stops the timer that periodically invokes the default watcher periodically.
|
public static final Watcher DEFAULT_WATCHER
slf4jtoys.watcher.name
, which defaults to
watcher
. You cannot assign a new default watcher at runtime.public static void startDefaultWatcherExecutor()
public static void stopDefaultWatcherExecutor()
public static void startDefaultWatcherTimer()
public static void stopDefaultWatcherTimer()