A wrapper class for C++ SystemMonitor.
More...
|
| SystemMonitor (Report report) |
| Constructor.
|
|
| SystemMonitor (Report report, String config) |
| Constructor.
|
|
native void | delete () |
| Delete the encapsulated C++ object.
|
|
native void | start () |
| Start the monitoring thread.
|
|
native void | stop () |
| Stop the monitoring thread.
|
|
native void | waitForTermination () |
| Suspend the calling thread until the monitoring thread is terminated.
|
|
|
long | nativeObject = 0 |
| The address of the underlying C++ object.
|
|
A wrapper class for C++ SystemMonitor.
◆ SystemMonitor() [1/2]
io.tsduck.SystemMonitor.SystemMonitor |
( |
Report |
report | ) |
|
|
inline |
Constructor.
- Parameters
-
report | The report object to use. If null, the logs are sent to the standard error. Be sure to specify a thread-safe report such has AsyncReport or a subclass of AbstractAsyncReport. |
◆ SystemMonitor() [2/2]
io.tsduck.SystemMonitor.SystemMonitor |
( |
Report |
report, |
|
|
String |
config |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
report | The report object to use. If null, the logs are sent to the standard error. Be sure to specify a thread-safe report such has AsyncReport or a subclass of AbstractAsyncReport. |
config | Name of the monitoring configuration file. If null or empty, the default configuration file is used. |
◆ waitForTermination()
native void io.tsduck.SystemMonitor.waitForTermination |
( |
| ) |
|
Suspend the calling thread until the monitoring thread is terminated.
The monitoring thread is requested to stop. This method returns immediately, use waitForTermination() to synchronously wait for its termination.
◆ delete()
native void io.tsduck.SystemMonitor.delete |
( |
| ) |
|
◆ nativeObject
long io.tsduck.NativeObject.nativeObject = 0 |
|
protectedinherited |
The address of the underlying C++ object.
It is normally accessed by native methods only.
The documentation for this class was generated from the following file: