public class ArchiveConnectionManager
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ArchiveConnectionManager.DBState
The possible states of the database
|
| Constructor and Description |
|---|
ArchiveConnectionManager(LoggingClient loggingClient)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
ArchiveConnectionManager.DBState |
getDBStatus() |
java.util.Collection |
getLogs(java.lang.String from,
java.lang.String to,
short minType,
short maxType,
java.lang.String routine,
java.lang.String source,
java.lang.String process,
int maxRows)
Get the logs from the archive
|
public ArchiveConnectionManager(LoggingClient loggingClient)
loggingClient - The logging clientpublic ArchiveConnectionManager.DBState getDBStatus()
public java.util.Collection getLogs(java.lang.String from,
java.lang.String to,
short minType,
short maxType,
java.lang.String routine,
java.lang.String source,
java.lang.String process,
int maxRows)
throws java.lang.Exception
from - Start timeto - End timeminType - Minimum log typemaxType - Maximum log typeroutine - The routine namesource - The sourceprocess - The processmaxRows - Max number of logs to read from the databasejava.lang.Exception