Class HeartBeatEvent


  • public final class HeartBeatEvent
    extends java.lang.Object
    High level heartbeat event issued to report listeners when a forked JVM does not repond for a longer while. The getDescription() method should return an approximate place where the forked JVM is at the moment, but this is not guaranteed (and may be null).
    • Field Detail

      • description

        private final org.junit.runner.Description description
      • lastActivity

        private final long lastActivity
      • currentTime

        private final long currentTime
    • Constructor Detail

      • HeartBeatEvent

        public HeartBeatEvent​(ForkedJvmInfo slave,
                              org.junit.runner.Description description,
                              long lastActivity,
                              long currentTime)
    • Method Detail

      • getDescription

        public org.junit.runner.Description getDescription()
      • getCurrentTime

        public long getCurrentTime()
      • getLastActivity

        public long getLastActivity()
      • getNoEventDuration

        public long getNoEventDuration()