Class LongJVMPauseDetector


  • public class LongJVMPauseDetector
    extends Object
    Class for detection of long JVM pauses. It has a worker thread, which wakes up in cycle every PRECISION (default is 50) milliseconds, and monitors a time values between awakenings. If worker pause exceeds the expected value more than THRESHOLD default is 500), the difference is considered as JVM pause, most likely STW, and event of long JVM pause is registered. The values of PRECISION, THRESHOLD and EVT_CNT (event window size, default is 20) can be configured in system or environment properties IGNITE_JVM_PAUSE_DETECTOR_PRECISION, IGNITE_JVM_PAUSE_DETECTOR_THRESHOLD and IGNITE_JVM_PAUSE_DETECTOR_LAST_EVENTS_COUNT accordingly.