import "DsLogAdmin.idl";
Inherited by DsEventLogAdmin::EventLog, DsLogAdmin::BasicLog, and DsTypedEventLogAdmin::TypedEventLog.
Public Methods | |
LogMgr | my_factory () |
Return the factory that created this Log object. More... | |
LogId | id () |
Return the unique identifier of this Log object. More... | |
QoSList | get_log_qos () |
Return the current quality of service provided by this log. More... | |
void | set_log_qos (in QoSList qos) raises (UnsupportedQoS) |
Set the quality of service provided by this log. More... | |
unsigned long | get_max_record_life () |
Return the maximum number of seconds that a record is stored in this log. More... | |
void | set_max_record_life (in unsigned long life) |
Set the maximum number of seconds that a record is stored in the log. More... | |
unsigned long long | get_max_size () |
Return the maximum size of this log measured in bytes. More... | |
void | set_max_size (in unsigned long long size) raises (InvalidParam) |
Set the maximum size of this log. More... | |
unsigned long long | get_current_size () |
Return the current size of this log measured in bytes. More... | |
unsigned long long | get_n_records () |
Return the current number of records contained in the log. More... | |
LogFullActionType | get_log_full_action () |
Get the action to be taken when a log is full. More... | |
void | set_log_full_action (in LogFullActionType action) raises (InvalidLogFullAction) |
Set the action to be taken when a log is full. More... | |
AdministrativeState | get_administrative_state () |
Get the administrative state of the log. More... | |
void | set_administrative_state (in AdministrativeState state) |
Set the administrative state of the log. More... | |
ForwardingState | get_forwarding_state () |
Get the forwarding state of the log. More... | |
void | set_forwarding_state (in ForwardingState state) |
Set the forwarding state of the log. More... | |
OperationalState | get_operational_state () |
Get the operational state of the log. More... | |
TimeInterval | get_interval () |
Get the time interval in which this log is operational. More... | |
void | set_interval (in TimeInterval interval) raises (InvalidTime, InvalidTimeInterval) |
Set the time interval in which this log is operational. More... | |
AvailabilityStatus | get_availability_status () |
Returns the availability status of this log. More... | |
CapacityAlarmThresholdList | get_capacity_alarm_thresholds () |
Get an array of percentage points where this log will generate a warning event. More... | |
void | set_capacity_alarm_thresholds (in CapacityAlarmThresholdList threshs) raises (InvalidThreshold) |
Set an array of percentage points where this log will generate a warning event. More... | |
WeekMask | get_week_mask () |
Get the week masks in which this log is operational. More... | |
void | set_week_mask (in WeekMask masks) raises (InvalidTime, InvalidTimeInterval, InvalidMask) |
Set the week masks in which this log is operational. More... | |
RecordList | query (in string grammar, in Constraint c, out Iterator i) raises (InvalidGrammar, InvalidConstraint) |
Query the log for records. More... | |
RecordList | retrieve (in TimeT from_time, in long how_many, out Iterator i) |
Retrieve a number of log records. More... | |
unsigned long | match (in string grammar, in Constraint c) raises (InvalidGrammar, InvalidConstraint) |
Same as query except that only the number of records found is returned. More... | |
unsigned long | delete_records (in string grammar, in Constraint c) raises (InvalidGrammar, InvalidConstraint) |
Delete records that match a constraint. More... | |
unsigned long | delete_records_by_id (in RecordIdList ids) |
Delete records with given identification numbers. More... | |
void | write_records (in Anys records) raises (LogFull, LogOffDuty, LogLocked, LogDisabled) |
Write an array of records into this log. More... | |
void | write_recordlist (in RecordList list) raises (LogFull, LogOffDuty, LogLocked, LogDisabled) |
Write an array of records into this log. More... | |
void | set_record_attribute (in RecordId id, in NVList attr_list) raises (InvalidRecordId, InvalidAttribute) |
Set a list of record attributes. More... | |
unsigned long | set_records_attribute (in string grammar, in Constraint c, in NVList attr_list) raises (InvalidGrammar, InvalidConstraint, InvalidAttribute) |
Set the record attributes for all records that match some constraint. More... | |
NVList | get_record_attribute (in RecordId id) raises (InvalidRecordId) |
Get the record attributes for a given log record. More... | |
Log | copy (out LogId id) |
Create a new log that is a clone of this log. More... | |
Log | copy_with_id (in LogId id) raises (LogIdAlreadyExists) |
Create a new log that is a clone of this log. More... | |
void | flush () raises (UnsupportedQoS) |
Flush the records received by this log object. More... |
|
Create a new log that is a clone of this log.
|
|
Create a new log that is a clone of this log.
|
|
Delete records that match a constraint.
|
|
Delete records with given identification numbers.
|
|
Flush the records received by this log object. This operation does nothing as all log records are flushed by default when received by the log. @raises UnsupportedQoS Never raised. |
|
Get the administrative state of the log. If the state is unlocked, use of the log is permitted. If locked, the log will not create new records. Even if the log is locked, events will be forwarded and records may be deleted.
|
|
Returns the availability status of this log.
The
|
|
Get an array of percentage points where this log will generate a warning event.
|
|
Return the current size of this log measured in bytes.
|
|
Get the forwarding state of the log.
|
|
Get the time interval in which this log is operational.
|
|
Get the action to be taken when a log is full. This implementation of the log service currently supports two different actions:
|
|
Return the current quality of service provided by this log.
|
|
Return the maximum number of seconds that a record is stored in this log. A value of zero means that records are stored until the log is destroyed.
|
|
Return the maximum size of this log measured in bytes. If no maximum size has been set, the value zero is returned.
|
|
Return the current number of records contained in the log.
|
|
Get the operational state of the log. If enabled, the log is operational and ready to use. If disabled, a run-time problem has occurred and the log can not function.
|
|
Get the record attributes for a given log record.
|
|
Get the week masks in which this log is operational.
|
|
Return the unique identifier of this
|
|
Same as
|
|
Return the factory that created this
|
|
Query the log for records.
|
|
Retrieve a number of log records.
|
|
Set the administrative state of the log.
|
|
Set an array of percentage points where this log will generate a warning event.
Each elements in the array must have a value between 0 and 100 percent. This log will generate an capacity threshold alarm event when the log size exceeds each of the values in
|
|
Set the forwarding state of the log.
When the state is set to
|
|
Set the time interval in which this log is operational. Setting the start time to zero means that the log should start logging immediately. If the start time is before the time at which this operation is invoked, the log will start logging immediately. If the stop time is set to zero, the log will continue to log until it is destroyed. Note that the log interval only affects the writing of records. The log will forward events regardless of this setting until the log is destroyed.
|
|
Set the action to be taken when a log is full.
This operation is delegated to the associated
|
|
Set the quality of service provided by this log.
This is delegated to the
|
|
Set the maximum number of seconds that a record is stored in the log. A value of zero means that records are stored until the log is destroyed.
|
|
Set the maximum size of this log. The unit of this parameter is bytes. A value of zero means that the maximum size of the log is unlimited.
|
|
Set a list of record attributes. A log record supports any number of records attributes. Since an attribute is merely a name-value pair, it is up to client applications to define meaningful record attributes.
|
|
Set the record attributes for all records that match some constraint. A log record supports any number of records attributes. Since an attribute is merely a name-value pair, it is up to client applications to define meaningful record attributes.
|
|
Set the week masks in which this log is operational.
When no week masks are specified, the log will be operational during the entire week. Each element in the
|
|
Write an array of records into this log. The log records are logged but not forwarded.
|
|
Write an array of records into this log. The log records are logged but not forwarded.
|