public abstract class AbstractDaemon extends Object implements RunningDaemon
This is an abstract class providing empty hulled methods for all thread-less implementations.
Constructor and Description |
---|
AbstractDaemon() |
Modifier and Type | Method and Description |
---|---|
void |
shutdownDaemon()
Shuts this class down.
|
void |
startDaemon()
Initializes and starts all threads required to run the daemon.
|
void |
stopDaemon()
Stopps all daemon threads and frees all temporary resources.
|
public void startDaemon()
RunningDaemon
Initializes and starts all threads required to run the daemon.
startDaemon
in interface RunningDaemon
public void stopDaemon()
RunningDaemon
Stopps all daemon threads and frees all temporary resources.
stopDaemon
in interface RunningDaemon
public void shutdownDaemon()
RunningDaemon
Shuts this class down.
This frees all resources and ends all threads for an application or layer shutdown. It is not possible to call start() after running shutdown().
shutdownDaemon
in interface RunningDaemon
Copyright © 2023. All rights reserved.