BoilerPlate-LightweightLogging Service OMG Formal/03-11-03 |
#include <Consumer_Impl.h>
Collaboration diagram for Consumer_Impl:
The servant implementation of CosLwLog::LogConsumer allows clients to browse and query the log
Public Member Functions | |
Consumer_Impl (LogState &state, EvictionMngr &evictmngr, const std::string &consumer_id) | |
ctor | |
virtual | ~Consumer_Impl () |
virtual CORBA::ULongLong | get_max_size () throw (CORBA::SystemException) |
Query the maximum size of the log. | |
virtual CORBA::ULongLong | get_current_size () throw (CORBA::SystemException) |
Query the current size of the Log in bytes. | |
virtual CORBA::ULongLong | get_n_records () throw (CORBA::SystemException) |
Query the current number of records in the Log. | |
virtual CosLwLog::LogFullAction | get_log_full_action () throw (CORBA::SystemException) |
Query the LogFullAction. | |
virtual CosLwLog::AvailabilityStatus | get_availability_status () throw (CORBA::SystemException) |
Query the AvailabilityStatus. | |
virtual CosLwLog::AdministrativeState | get_administrative_state () throw (CORBA::SystemException) |
Query the administrative state. | |
virtual CosLwLog::OperationalState | get_operational_state () throw (CORBA::SystemException) |
Access the maximum size of the log. | |
virtual CosLwLog::RecordId | get_record_id_from_time (const CosLwLog::LogTime &from_time) throw (CosLwLog::InvalidParam, CORBA::SystemException) |
Obtain a Record Id recorded at a specific time. | |
virtual CosLwLog::LogRecordSequence * | retrieve_records (CosLwLog::RecordId &recid, CORBA::ULong &how_many) throw (CosLwLog::InvalidParam, CORBA::SystemException) |
Given a RecordId, obtain a set of records. | |
virtual CosLwLog::LogRecordSequence * | retrieve_records_by_level (CosLwLog::RecordId ¤t_id, CORBA::ULong &how_many, const CosLwLog::LogLevelSequence &levels) throw (CosLwLog::InvalidParam, CORBA::SystemException) |
Given a record Id, find LogRecords recorded with a LogLevel. | |
virtual CosLwLog::LogRecordSequence * | retrieve_records_by_producer_id (CosLwLog::RecordId ¤t_id, CORBA::ULong &how_many, const CosLwLog::StringSeq &value_list) throw (CosLwLog::InvalidParam, CORBA::SystemException) |
Given a record Id, find LogRecords recorded by specified producers. | |
virtual CosLwLog::LogRecordSequence * | retrieve_records_by_producer_name (CosLwLog::RecordId ¤t_id, CORBA::ULong &how_many, const CosLwLog::StringSeq &value_list) throw (CosLwLog::InvalidParam, CORBA::SystemException) |
Given a record Id, find LogRecords recorded by specified producer names. | |
virtual bool | evicted () |
Notification from the EvictionMngr that the Consumer is about to be evicted. |
|
ctor Initializes the local reference to the LogState and a member instance of a LogBrowser. Each Consumer_Impl has its own LogBrowser
|
|
dtor Currently does nothing |
|
Notification from the EvictionMngr that the Consumer is about to be evicted. Comply with the Evictable contract. This Evictable always answers true.
|
|
Query the administrative state.
|
|
Query the AvailabilityStatus.
|
|
Query the current size of the Log in bytes.
|
|
Query the LogFullAction.
|
|
Query the maximum size of the log.
|
|
Query the current number of records in the Log.
|
|
Access the maximum size of the log.
|
|
Obtain a Record Id recorded at a specific time. Using a LogTime, obtain the Record Id that was recorded at the specified time or immediately greater then the specified time. If no record exists, i.e., the time is in the future, the next available Record Id is returned. If the time is before the Log was initialized, an InvalidParam is raised.
|
|
Given a RecordId, obtain a set of records. Obtain at least how_many records starting with recid.
|
|
Given a record Id, find LogRecords recorded with a LogLevel. Find LogRecords starting with current_id that were recorded with a LogLevel in levels.
|
|
Given a record Id, find LogRecords recorded by specified producers. Find LogRecords starting with current_id that were recorded by specific producer Ids
|
|
Given a record Id, find LogRecords recorded by specified producer names. Find LogRecords starting with current_id that were recorded by specific producer names
|
Copyright © BoilerPlate.org | Generated on Tue Nov 30 16:33:06 2004 for BoilerPlate CosLightweightLogging Service by 1.3.7 |