com.carrotsearch.ant.tasks.junit4.events.aggregated
Class HeartBeatEvent

java.lang.Object
  extended by 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).


Constructor Summary
HeartBeatEvent(SlaveInfo slave, Description description, long lastActivity, long currentTime)
           
 
Method Summary
 long getCurrentTime()
           
 Description getDescription()
           
 long getLastActivity()
           
 long getNoEventDuration()
           
 SlaveInfo getSlave()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeartBeatEvent

public HeartBeatEvent(SlaveInfo slave,
                      Description description,
                      long lastActivity,
                      long currentTime)
Method Detail

getDescription

public Description getDescription()

getCurrentTime

public long getCurrentTime()

getLastActivity

public long getLastActivity()

getNoEventDuration

public long getNoEventDuration()

getSlave

public SlaveInfo getSlave()


Copyright © 2011-2012 Carrot Search s.c.. All Rights Reserved.