DsLogAdmin::BasicLogFactory Interface Reference

The basic log factory is a concrete LogMgr. More...

import "DsLogAdmin.idl";

Inherits DsLogAdmin::LogMgr.

List of all members.

Public Member Functions

BasicLog create (in LogFullActionType full_action, in unsigned long long max_size, out LogId id) raises (InvalidLogFullAction)
 Create a new basic log.
BasicLog create_with_id (in LogId id, in LogFullActionType full_action, in unsigned long long max_size) raises (LogIdAlreadyExists, InvalidLogFullAction)
 Create a new basic log with a given unique identifier.


Detailed Description

The basic log factory is a concrete LogMgr.


Member Function Documentation

BasicLog DsLogAdmin::BasicLogFactory::create ( in LogFullActionType  full_action,
in unsigned long long  max_size,
out LogId  id 
) raises (InvalidLogFullAction)

Create a new basic log.

full_action - Action to be taken when log is full. max_size - Maximum log size in bytes. id - An output parameter with the unique identifier of the newly created log object.

Returns:
A new BasicLog object. InvalidLogFullAction If the full_action specified is not valid.

BasicLog DsLogAdmin::BasicLogFactory::create_with_id ( in LogId  id,
in LogFullActionType  full_action,
in unsigned long long  max_size 
) raises (LogIdAlreadyExists, InvalidLogFullAction)

Create a new basic log with a given unique identifier.

id - Desired unique identifier for the new log. full_action - Action to be taken when log is full. max_size - Maximum log size in bytes.

Returns:
A new BasicLog object. LogIdAlreadyExists If a log object with that unique identifier already exists. InvalidLogFullAction If the full_action specified is not valid.