java.lang.Object
com.carrotsearch.ant.tasks.junit4.events.aggregated.HeartBeatEvent

public final class HeartBeatEvent extends 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 Details

    • slave

      private final ForkedJvmInfo slave
    • description

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

      private final long lastActivity
    • currentTime

      private final long currentTime
  • Constructor Details

    • HeartBeatEvent

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

    • getDescription

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

      public long getCurrentTime()
    • getLastActivity

      public long getLastActivity()
    • getNoEventDuration

      public long getNoEventDuration()
    • getSlave

      public ForkedJvmInfo getSlave()