
Public Member Functions | |
| LogDispatcherTest () | |
| LogDispatcherTest (String str) | |
| void | testXMLDispatch () throws Exception |
| void | testBinaryDispatch () throws Exception |
| void | testGetSetDiscardLevel () throws Exception |
| void | testDynamicDiscardLevel () throws Exception |
Protected Member Functions | |
| void | setUp () throws Exception |
| void | tearDown () throws Exception |
Private Member Functions | |
| void | waitProcessingComplete (ACSLogRetrieval processor) |
| synchronized String | toCacheString (ILogEntry log) throws Exception |
| LogBinaryRecord | convertLogToBinary (ILogEntry log) throws Exception |
Private Attributes | |
| final int | LOGS_NUMBER = 50000 |
| LogsRecv | logRecv = null |
| Collection< ILogEntry > | logs = null |
| StopWatch | stopWatch = new StopWatch() |
| int | logsReceived = 0 |
| int | rawLogsReceived = 0 |
|
|
Constructor |
|
|
Constructor |
|
|
Convert a ILogEntry into a binary log
|
|
|
|
|
|
|
|
|
Test the dispatching of binary logs
|
|
|
Test the changing of the discard level by simulating a low memory situation
|
|
|
Test setting and getting of the discard level.
|
|
|
Test the dispatching of XML logs
|
|
|
Build the string for the cache out of an ILogEntry for the case of binary logs
|
|
|
Wait until all the logs are processed
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.8