Package org.bedework.util.jms.events
Class TimedEvent
- java.lang.Object
-
- org.bedework.util.jms.events.SysEvent
-
- org.bedework.util.jms.events.TimedEvent
-
- All Implemented Interfaces:
Serializable,Comparable<SysEvent>,MillisecsEvent
public class TimedEvent extends SysEvent implements MillisecsEvent
An event for some timed activity. The label identifies the event- Author:
- Mike Douglass
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bedework.util.jms.events.SysEvent
SysEvent.Attribute
-
-
Field Summary
-
Fields inherited from class org.bedework.util.jms.events.SysEvent
syscodeStats, syscodeTimedEvent
-
-
Constructor Summary
Constructors Constructor Description TimedEvent(String code, String label, long millis)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLabel()longgetMillis()voidtoStringSegment(ToString ts)Add our stuff to the ToString object-
Methods inherited from class org.bedework.util.jms.events.SysEvent
addMessageAttributes, compareTo, getDtstamp, getMessageAttributes, getRelated, getSequence, getSysCode, hashCode, makeStatsEvent, makeTimedEvent, setDtstamp, setRelated, setSequence, toString
-
-
-
-
Method Detail
-
getLabel
public String getLabel()
- Returns:
- label
-
getMillis
public long getMillis()
- Specified by:
getMillisin interfaceMillisecsEvent- Returns:
- millis
-
toStringSegment
public void toStringSegment(ToString ts)
Description copied from class:SysEventAdd our stuff to the ToString object- Overrides:
toStringSegmentin classSysEvent- Parameters:
ts- ToString for result
-
-