In FileNet P8 4.0.0 and later, this method may be called by a background thread to disable monitoring of the thread by the ThreadMonitor.
Monitoring of the background thread can be disabled at any time using this method, or by setting the interval value of the ThreadMonitor to zero. When monitoring is disabled, the ThreadMonitor does not watch the clock to verify whether pings from the thread are received within the specified time interval.
Monitoring of the background thread will remain disabled until the setInterval method of the ThreadMonitor object is called and a value greater than zero is specified.
For more information about monitoring background threads, see Tracking Background Threads.
void disable();
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, disable monitoring of the thread */
thread_one.disable();
...