All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class magician.PerfTools.NetLoggerEventManager

java.lang.Object
   |
   +----magician.PerfTools.NetLoggerEventManager

public class NetLoggerEventManager
extends Object
implements NetEventListener
Class NetLoggerEvent is a event manager class derived from EventManager. This event manager is used when recording and printing event information in NetLogger format.

See Also:
EventManager, NetLoggerEvent

Variable Index

 o EventMgr
 o HostName
 o out

Constructor Index

 o NetLoggerEventManager(long, DataOutputStream)
constructor starts a timer with the given interval and sets up the output stream.

Method Index

 o postEvent(NetEvent)
posts NetLogger event information.

Variables

 o HostName
 protected String HostName
 o out
 protected DataOutputStream out
 o EventMgr
 protected EventManager EventMgr

Constructors

 o NetLoggerEventManager
 public NetLoggerEventManager(long bufferFlushInterval,
                              DataOutputStream out) throws IllegalArgumentException, ClassNotFoundException
constructor starts a timer with the given interval and sets up the output stream.

Parameters:
bufferFlushInterval - the time interval after which buffer are flushed to output
Throws: IllegalArgumentException
thrown if the size of the list is not a positive number
Throws: ClassNotFoundException
thrown if the class definition does not exist

Methods

 o postEvent
 public synchronized void postEvent(NetEvent e)
posts NetLogger event information.

Parameters:
e - NetEvent object describing the event

All Packages  Class Hierarchy  This Package  Previous  Next  Index
1