com.jamonapi
Class JAMonArrayBufferListener

java.lang.Object
  extended by com.jamonapi.JAMonBufferListener
      extended by com.jamonapi.JAMonArrayBufferListener
All Implemented Interfaces:
CopyJAMonListener, JAMonListener, java.util.EventListener

public class JAMonArrayBufferListener
extends JAMonBufferListener


Constructor Summary
JAMonArrayBufferListener()
          Constructor that creaates this object with its default name (the class name)
JAMonArrayBufferListener(java.lang.String name)
          Pass in the jamonListener name
JAMonArrayBufferListener(java.lang.String name, BufferList list)
          Name the listener and pass in the jamon BufferList to use
 
Method Summary
 JAMonListener copy()
          Makes a usable copy of this BufferListener
 void processEvent(Monitor mon)
          When this event is fired the monitor will be added to the rolling buffer.
 
Methods inherited from class com.jamonapi.JAMonBufferListener
addRow, addRow, getBufferList, getDetailData, getName, getRowCount, hasData, isEmpty, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAMonArrayBufferListener

public JAMonArrayBufferListener()
Constructor that creaates this object with its default name (the class name)


JAMonArrayBufferListener

public JAMonArrayBufferListener(java.lang.String name)
Pass in the jamonListener name


JAMonArrayBufferListener

public JAMonArrayBufferListener(java.lang.String name,
                                BufferList list)
Name the listener and pass in the jamon BufferList to use

Method Detail

processEvent

public void processEvent(Monitor mon)
When this event is fired the monitor will be added to the rolling buffer. If it is a log4j monitor the buffer will be specific to log4j fields (i.e.LoggingEvent info such as threadname, formattedmessage, exception stack trace and a few others. If it is not then the super class's processEvent is called.

Specified by:
processEvent in interface JAMonListener
Overrides:
processEvent in class JAMonBufferListener

copy

public JAMonListener copy()
Makes a usable copy of this BufferListener

Specified by:
copy in interface CopyJAMonListener
Overrides:
copy in class JAMonBufferListener