Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

alma::contLogTest::TestLogLevelsCompImpl::LogSeriesExpectant Class Reference

List of all members.

Public Member Functions

void clearLogs ()

Package Functions

 LogSeriesExpectant (LogReceiver logReceiver)
LogList awaitLogRecords (String loggerName, int logRoundtripTimeSeconds)

Private Attributes

LogReceiver logReceiver

Detailed Description

Helper class for tests that must receive log records from the Log service.


Constructor & Destructor Documentation

alma::contLogTest::TestLogLevelsCompImpl::LogSeriesExpectant::LogSeriesExpectant LogReceiver  logReceiver  )  [inline, package]
 

Parameters:
logReceiver an already initialized LogReceiver from which logs will be fetched. This class will not stop the logReceiver, which therefore remains the task of the calling class.
Exceptions:
IllegalArgumentException if logReceiver is not initialized.


Member Function Documentation

LogList alma::contLogTest::TestLogLevelsCompImpl::LogSeriesExpectant::awaitLogRecords String  loggerName,
int  logRoundtripTimeSeconds
[inline, package]
 

Call this method after the logs that should be received have been produced. Then the call may take up to logRoundtripTimeSeconds seconds to return.

Parameters:
loggerName The name of the logger whose records are to be collected. Filtering of arriving log records will be done for the ILogEntry.Field#SOURCEOBJECT field.
logRoundtripTimeSeconds Maximum roundtrip time of a log record (incl. caching by container, sending to Log service, processing by Log service, arrival at LogReceiver).

void alma::contLogTest::TestLogLevelsCompImpl::LogSeriesExpectant::clearLogs  )  [inline]
 

Call this method before the logs that we are interested in get produced.


Member Data Documentation

LogReceiver alma::contLogTest::TestLogLevelsCompImpl::LogSeriesExpectant::logReceiver [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:03:16 2009 for ACS Java API by doxygen 1.3.8