JAVA environment based abnormal service thread detecting and treating method
A JAVA environment based abnormal service thread detecting and treating method comprises the following step: creating an independent thread in a monitoring thread state, wherein the thread is started by set date through a main program, and the set date interval can be analyzed based on the actual se...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | A JAVA environment based abnormal service thread detecting and treating method comprises the following step: creating an independent thread in a monitoring thread state, wherein the thread is started by set date through a main program, and the set date interval can be analyzed based on the actual service and mainly references the average time consumption of performing of each task in the actual service, the maximum time interval cannot be beyond the average time consumption. The task of the thread mainly comprises the following steps: step 1, acquiring and saving the start time of all working threads in order to calculate the current time consumption of the thread; step 2, recognizing abnormal thread; and step 3, treating the abnormal thread. According to the JAVA environment based abnormal service thread detecting and treating method, the problem in the system can be early found and solved through the monitoring, and performance data and the health condition can be timely performed, so that the system can be |
---|