org.ow2.jonas.lib.jmbeans.log
Interface LogBufferMBean
- All Known Implementing Classes:
- LogBuffer
public interface LogBufferMBean
- Author:
- waeselyf
INFO
static final int INFO
- See Also:
- Constant Field Values
WARNING
static final int WARNING
- See Also:
- Constant Field Values
SEVERE
static final int SEVERE
- See Also:
- Constant Field Values
getRecentCapacity
int getRecentCapacity()
- Returns:
- current capacity of the recent LogRecord list
setRecentCapacity
void setRecentCapacity(int recentCapacity)
- Parameters:
recentCapacity
- capacity of the recent LogRecord list
setCapacity
void setCapacity(int records)
- Max number of records to hold (max records of the feeder)
getCapacity
int getCapacity()
getRecordCount
long getRecordCount()
getInfoCount
long getInfoCount()
getWarningCount
long getWarningCount()
getSevereCount
long getSevereCount()
getOtherCount
long getOtherCount()
getLatestDate
long getLatestDate()
getOldestDate
long getOldestDate()
getRecent
String getRecent()
fetchRecords
StringBuffer fetchRecords()
- Fetch records
fetchRecords
StringBuffer fetchRecords(Long from,
Long to)
fetchRecords
StringBuffer fetchRecords(Long from,
Long to,
int level)
getLevel
int getLevel()
- Level
setLevel
void setLevel(int level)
Copyright © 2010 OW2 Consortium. All Rights Reserved.