|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.netarkivet.monitor.logging.CachingLogRecord
public class CachingLogRecord
A LogRecord to be exposed as an MBean.
Constructor Summary | |
---|---|
CachingLogRecord(int index,
CachingLogHandler cachingLogHandler)
Make a caching log record, that exposes a log record at a given index as an MBean. |
Method Summary | |
---|---|
void |
close()
Unregisters this object as an mbean. |
java.lang.String |
getRecordString()
Get the log record on a given index from the top as a string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CachingLogRecord(int index, CachingLogHandler cachingLogHandler)
index
- The index of this log record, counted from the
top of the list.cachingLogHandler
- The caching log handler this is an exposing view
on.
IOFailure
- on any trouble registering.Method Detail |
---|
public java.lang.String getRecordString()
getRecordString
in interface SingleLogRecord
public void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |