In FileNet P8 4.0.0 and later, this method is utilized during monitoring of a background thread.
When monitoring of a background thread is enabled, the ThreadMonitor facility starts to watch the clock. The background thread must contact the ThreadMonitor through the use of the ping method within N number of milliseconds. Less than N milliseconds is fine, but more than N milliseconds is too late. If a thread fails to ping the ThreadMonitor within N milliseconds, then the thread is assumed to have died, and a CRITICAL
level message about the thread is automatically broadcast by the ThreadMonitor.
For more information about monitoring background threads, see Tracking Background Threads.
void ping();
Listener listener = new Listener("sampleApp", "4.0");
/* Create a monitored background thread that will
* ping the ThreadMonitor at least every 15 seconds */
ThreadMonitor thread_one;
thread_one = listener.threadMonitorFactory("Background Thread 1", 15000);
...
/* During process execution, the thread will ping the ThreadMonitor */
thread_one.ping();
...