BoilerPlate-LightweightLogging Service OMG Formal/03-11-03 |
import "CosLW_Log.idl";
Inheritance diagram for CosLwLog::LogAdministrator:
Public Member Functions | |
void | set_max_size (in unsigned long long size) raises (InvalidParam) |
void | set_log_full_action (in LogFullAction action) |
void | set_administrative_state (in AdministrativeState state) |
void | clear_log () |
void | destroy () |
unsigned long long | get_max_size () |
unsigned long long | get_current_size () |
unsigned long long | get_n_records () |
LogFullAction | get_log_full_action () |
AvailabilityStatus | get_availability_status () |
AdministrativeState | get_administrative_state () |
OperationalState | get_operational_state () |
|
Purge the storage area This operation will purge all records from the storage aread. Subsequent calls to getCurrentSize will return zero |
|
Tears down an instantiated Log This operation will destroy a Log instance. All records are irrecoverably lost and memory resources are released |
|
Access the ability of this Log to accept new log records A Log can be LOCKED or UNLOCKED. If LOCKED no new records are accepted. Existing records can be read.
|
|
Access the Availability status for this Log The ability of the Log to accept and store messages can become impaired. This operation is used to check the status of a Log. AvailabiltyStatus contains two values:
|
|
The current size of the log storage area Obtain the current size in bytes of the log storage area.
|
|
Access the Log Full Action configuration state LogFullAction denotes the action that the Log will take when the storage area is full. Possible values are HALT, if no futher logging records are accepted, and WRAP, if the log overwrites the oldest records in the storage area.
|
|
Returns the size of the log storage area Obtain the maximum capacity in bytes of the storage area.
|
|
The current number of records in the storage area Obtain the number of records currently in the log storage area.
|
|
Access the operational status of the Log In a DISABLED state the Log has encountered a runtime problem and is not available to clients. In an ENABLED state the Log is available to all clients.
|
|
Configure the administrative state Affects the ability of the service to accept and store new Log Records. LOCKED will prohibit new LogRecords from being accepted. UNLOCKED allows new records to be accepted. This state does not affect reading of existing records.
|
|
Configure the action to be taken if the storage area becomes full The Service will take this action when free space is depleted
|
|
Sets the maximum size of the Log storage area Set the maximum capacity in bytes of the Log storage area
|
Copyright © BoilerPlate.org | Generated on Tue Nov 30 16:33:18 2004 for BoilerPlate CosLightweightLogging Service by 1.3.7 |