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
-
EventMgr
-
-
HostName
-
-
out
-
-
NetLoggerEventManager(long, DataOutputStream)
- constructor starts a timer with the given interval and
sets up the output stream.
-
postEvent(NetEvent)
- posts NetLogger event information.
HostName
protected String HostName
out
protected DataOutputStream out
EventMgr
protected EventManager EventMgr
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
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