jgroup.util.log
Class ExperimentEvent

java.lang.Object
  extended by jgroup.util.log.Event
      extended by jgroup.util.log.ExperimentEvent
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Event>

public class ExperimentEvent
extends Event

ExperimentEvent

Author:
Hein Meling
See Also:
Serialized Form

Nested Class Summary
static class ExperimentEvent.Type
          Supported experiment event types.
 
Field Summary
 
Fields inherited from class jgroup.util.log.Event
description, eventHost, time, type
 
Constructor Summary
ExperimentEvent(EventType type, int round, int rerun)
           
 
Method Summary
 int getRerun()
           
 int getRound()
           
 boolean isLastEvent()
          This method must be overriden by the event type which will be used to indicate that it is the last event.
 java.lang.String toString()
           
 
Methods inherited from class jgroup.util.log.Event
commonToString, compareTo, getDescription, getHost, getHostname, getTime, getType, isType, setRelativeTo, setTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExperimentEvent

public ExperimentEvent(EventType type,
                       int round,
                       int rerun)
Method Detail

getRound

public int getRound()
Returns:
Returns the round of this experiment event.

getRerun

public int getRerun()
Returns:
Returns the rerun number for this experiment event

isLastEvent

public boolean isLastEvent()
Description copied from class: Event
This method must be overriden by the event type which will be used to indicate that it is the last event.

Overrides:
isLastEvent in class Event
Returns:
Returns true if the event type is End; otherwise false.
See Also:
Event.isLastEvent()

toString

public java.lang.String toString()
Overrides:
toString in class Event


Copyright © 1998-2006 The Jgroup/ARM development team. All Rights Reserved.