/** Add a row to be held in the buffer. If the buffer is full the oldest one will be removed. */ public synchronized void addRow(Object[] row) { addRow((Object)row); }
/** Add a row to the buffer */ public void addRow(ToArray row) { list.addRow(row); }
/** Add a row to the buffer */ public void addRow(JAMonDetailRow row) { list.addRow(row); }
/** Add a row to the buffer */ public void addRow(Object[] row) { list.addRow(row); }
/** Add a row to be held in the buffer. If the buffer is full the oldest one will be removed. */ public synchronized void addRow(Object[] row) { addRow((Object)row); }
/** When this event is fired the monitor will be added to the rolling buffer */ public void processEvent(Monitor mon) { list.addRow(mon.getJAMonDetailRow()); }
/** When this event is fired the monitor will be added to the rolling buffer */ public void processEvent(Monitor mon) { list.addRow(mon.getJAMonDetailRow()); }
params.exceptionBuffer.addRow(new Object[] { new Long(++params.exceptionID), new Date(), Misc.getExceptionTrace(rootCause), method.toString(), });
/** * 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. * */ @Override public void processEvent(Monitor mon) { MonKey monKey = mon.getMonKey(); // If the key is a log4j key it has the LoggingEvent in it and we can // put that data into the buffer. If the first record is passed and it is a Log4JMonKey then use // more specific log4j detail buffer array. Note this variable is also used in the header method. if (monKey instanceof Log4jMonKey && !isLog4jMonKey) isLog4jMonKey = true; if (isLog4jMonKey) { Log4jMonKey key = (Log4jMonKey) monKey; getBufferList().addRow(toArray(key.getLoggingEvent(), mon)); } else super.processEvent(mon); }
params.sqlBuffer.addRow(row);
params.sqlBuffer.addRow(row);