public class JAMonBufferListener extends Object implements JAMonListener, CopyJAMonListener
| Modifier and Type | Class and Description |
|---|---|
static class |
JAMonBufferListener.HeaderInfo |
| Constructor and Description |
|---|
JAMonBufferListener() |
JAMonBufferListener(String name)
Pass in the jamonListener name
|
JAMonBufferListener(String name,
BufferList list)
Name the listener and pass in the jamon BufferList to use
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRow(Object[] row)
Add a row to the buffer
|
void |
addRow(ToArray row)
Add a row to the buffer
|
JAMonListener |
copy()
Make a copy of this instance
|
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(String[] firstPart) |
String |
getName()
Gets the name of this listener
|
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(String name)
Set the name of the listener
|
public JAMonBufferListener()
public JAMonBufferListener(String name)
public JAMonBufferListener(String name, BufferList list)
public void processEvent(Monitor mon)
processEvent in interface JAMonListenerpublic void addRow(ToArray row)
public void addRow(Object[] row)
public BufferList getBufferList()
public String getName()
JAMonListenergetName in interface JAMonListenerpublic void setName(String name)
JAMonListenersetName in interface JAMonListenerpublic JAMonListener copy()
copy in interface CopyJAMonListenerpublic DetailData getDetailData()
public int getRowCount()
public boolean hasData()
public boolean isEmpty()
public static JAMonBufferListener.HeaderInfo getDefaultHeaderInfo()
public static JAMonBufferListener.HeaderInfo getHeaderInfo(String[] firstPart)
Copyright © 2015. All rights reserved.