Class BacktraceThreadWatcher

java.lang.Object
backtraceio.library.watchdog.BacktraceThreadWatcher

public class BacktraceThreadWatcher extends Object
This class is a representation of the state of the thread, the user's thread has access to one counter and BacktraceWatchdog to the other. By comparing the values of the counters it is possible to determine whether the thread has been hanged.
  • Method Details

    • tickCounter

      public void tickCounter()
      Increase thread counter by 1