|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jamonapi.JAMonBufferListener
public class JAMonBufferListener
JAMonListener that puts jamon data into a buffer that allows you to display the last N configurble detail events. The buffer will have the detail label, value and invocation date for the monitor that was fired.
Nested Class Summary | |
---|---|
static class |
JAMonBufferListener.HeaderInfo
|
Constructor Summary | |
---|---|
JAMonBufferListener()
|
|
JAMonBufferListener(java.lang.String name)
Pass in the jamonListener name |
|
JAMonBufferListener(java.lang.String name,
BufferList list)
Name the listener and pass in the jamon BufferList to use |
Method Summary | |
---|---|
void |
addRow(java.lang.Object[] row)
Add a row to the buffer |
void |
addRow(ToArray row)
Add a row to the buffer |
JAMonListener |
copy()
|
BufferList |
getBufferList()
get the underlying bufferList which can then be used to display its contents |
static JAMonBufferListener.HeaderInfo |
getDefaultHeaderInfo()
|
DetailData |
getDetailData()
|
static JAMonBufferListener.HeaderInfo |
getHeaderInfo(java.lang.String[] firstPart)
|
java.lang.String |
getName()
|
int |
getRowCount()
|
boolean |
hasData()
|
boolean |
isEmpty()
|
void |
processEvent(Monitor mon)
When this event is fired the monitor will be added to the rolling buffer |
void |
setName(java.lang.String name)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JAMonBufferListener()
public JAMonBufferListener(java.lang.String name)
public JAMonBufferListener(java.lang.String name, BufferList list)
Method Detail |
---|
public void processEvent(Monitor mon)
processEvent
in interface JAMonListener
public void addRow(ToArray row)
public void addRow(java.lang.Object[] row)
public BufferList getBufferList()
public java.lang.String getName()
getName
in interface JAMonListener
public void setName(java.lang.String name)
setName
in interface JAMonListener
public JAMonListener copy()
copy
in interface CopyJAMonListener
public DetailData getDetailData()
public int getRowCount()
public boolean hasData()
public boolean isEmpty()
public static JAMonBufferListener.HeaderInfo getDefaultHeaderInfo()
public static JAMonBufferListener.HeaderInfo getHeaderInfo(java.lang.String[] firstPart)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |