org.jppf.ui.monitoring.event
Class StatsHandlerEvent
java.lang.Object
java.util.EventObject
org.jppf.ui.monitoring.event.StatsHandlerEvent
- All Implemented Interfaces:
- Serializable
public class StatsHandlerEvent
- extends EventObject
Event sent when the stats data has changed.
- Author:
- Laurent Cohen
- See Also:
- Serialized Form
StatsHandlerEvent
public StatsHandlerEvent(StatsHandler source,
StatsHandlerEvent.Type type)
- Initialize this event with a specified source
StatsHandler.
- Parameters:
source - the stats formatter whose data has changed.type - the type of this event.
getStatsFormatter
public StatsHandler getStatsFormatter()
- Get the
StatsHandler source of this event.
- Returns:
- a
StatsHandler instance.
getType
public StatsHandlerEvent.Type getType()
- Get the type of this event.
- Returns:
- the type as a typesafe
Type enumerated value.
Copyright © 2005-2010 JPPF Team.