List of all members.
Detailed Description
A class to connect and interact with the archive
The connection with the database is not always available. There are 2 possibilities: 1. the code to connect to the DB is not available (it comes from a module in ARCHIVE) 2. the code is available but for some reason something in the communication with the DB doesn't work as expected
- Author:
- acaproni
Member Enumeration Documentation
The possible states of the database
- Author:
- acaproni
- Enumerator:
DATABASE_OK |
|
DATABASE_NOP |
|
DATABASE_WORKING |
|
Constructor & Destructor Documentation
alma.acs.logging.archive.ArchiveConnectionManager.ArchiveConnectionManager |
( |
LoggingClient |
loggingClient |
) |
|
Constructor
- Parameters:
-
| loggingClient | The logging client |
Member Function Documentation
DBState alma.acs.logging.archive.ArchiveConnectionManager.getDBStatus |
( |
|
) |
|
Collection alma.acs.logging.archive.ArchiveConnectionManager.getLogs |
( |
String |
from, |
|
|
String |
to, |
|
|
short |
minType, |
|
|
short |
maxType, |
|
|
String |
routine, |
|
|
String |
source, |
|
|
String |
process, |
|
|
int |
maxRows | |
|
) |
| | throws Exception |
Get the logs from the archive
- Parameters:
-
| from | Start time |
| to | End time |
| minType | Minimum log type |
| maxType | Maximum log type |
| routine | The routine name |
| source | The source |
| process | The process |
| maxRows | Max number of logs to read from the database |
- Returns:
- The logs read from the database
- Exceptions:
-
The documentation for this class was generated from the following file: