public class LogArchiverHelper
extends java.lang.Object
| Constructor and Description |
|---|
LogArchiverHelper() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
consoleId(java.lang.Object component,
ConsoleArchiver archiver)
Get the console id.
|
static LogEvent[] |
retrieveConsoleEvents(java.lang.Object component,
ConsoleArchiver archiver,
java.lang.Long last,
java.lang.Integer max)
Get an array of the latest console events.
|
static LogEvent[] |
retrieveLogEvents(java.lang.Object component,
LogArchiver archiver,
java.lang.Long last,
java.lang.Integer max)
Get an array of the latest log events.
|
public static LogEvent[] retrieveLogEvents(java.lang.Object component, LogArchiver archiver, java.lang.Long last, java.lang.Integer max)
component - The componet to get log events for.archiver - The LogArchiver.last - The sequence of the last event required.max - The total number of events.public static java.lang.String consoleId(java.lang.Object component,
ConsoleArchiver archiver)
component - The component.archiver - The ConsoleArchvier.public static LogEvent[] retrieveConsoleEvents(java.lang.Object component, ConsoleArchiver archiver, java.lang.Long last, java.lang.Integer max)
component - The component.archiver - The ConsoleArchvier.last - The last event number.max - The maximum events required.