com.bluestream.xdb.dsobject
Interface LogMgr


public interface LogMgr

This class is a top level container for all server logs.


Method Summary
 void getContent(String logFileName, int recentLineCount, FlexStringBuffer fsbContent)
          Gets a range of content from a log file.
 Vector getFileNames()
          Returns a Vector of Log file names.
 

Method Detail

getFileNames

public Vector getFileNames()
                    throws XDBException
Returns a Vector of Log file names.

Throws:
XDBException - If log directory doesn't exist.

getContent

public void getContent(String logFileName,
                       int recentLineCount,
                       FlexStringBuffer fsbContent)
                throws XDBException
Gets a range of content from a log file.

Parameters:
recentLineCount - Maximum number of lines to be read. if = -1, means to get all file.
logFileName - Name of the log file to be read.
fsbContent - Buffer to place the log data into.
Throws:
XDBException - If log or log directory doesn't exist, or a read error.


Copyright 2006 Bluestream Database Software Corp. All Rights Reserved.