Skip navigation links


com.essbase.eas.essbase.server.LogAnalyzer
Class LogAnalyzerPrimitives

java.lang.Object
  extended by com.essbase.eas.essbase.server.LogAnalyzer.LogAnalyzerPrimitives


public class LogAnalyzerPrimitives
extends java.lang.Object

Title: Log Analyzer Project for Tomcat Description: Copyright: Copyright (c) 2003 Company: Hyperion Solutions, Inc.

Version:
1.0
Author:
Sree Menon

Constructor Summary
LogAnalyzerPrimitives()
           

 

Method Summary
static boolean deleteLogDetails(int logId)
           
static java.util.List getAppNames(int logId)
           
static RandomAccessFileTableModel getChartData(int logId, LogAnalyzerFilter filter)
           
static java.util.List getDatabaseNames(int logId, java.lang.String appname)
           
static LogAnalyzerFilter[] getFilters(int logId)
           
 java.io.File getLog1(EssSession session, java.lang.String appName, long dateStamp)
          Retrieves the log from a server and reads it into a String.
static java.io.File getLogAnalyzerFile(int logId, LogAnalyzerFilter filter)
           
static LogAnalyzerInfo getLogInfo(java.lang.String server, java.lang.String app)
           
static java.util.List getMessageNumbers(int logId)
           
static java.util.List getUserNames(int logId)
           
static int parseLog(EssSession session, java.lang.String appName, long dateStamp, long offset, int logId)
          parses a log specified by session and appName, for log entries starting at dateStamp
static boolean saveFilters(int logId, LogAnalyzerFilter[] filters)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

LogAnalyzerPrimitives

public LogAnalyzerPrimitives()

Method Detail

getLog1

public java.io.File getLog1(EssSession session,
                            java.lang.String appName,
                            long dateStamp)
Retrieves the log from a server and reads it into a String.
Parameters:
session - - session object for this command.
appName - - application name for application log, null for server log
dateStamp - - start date for log entries - null for all
Returns:
File containing log text

parseLog

public static int parseLog(EssSession session,
                           java.lang.String appName,
                           long dateStamp,
                           long offset,
                           int logId)
parses a log specified by session and appName, for log entries starting at dateStamp
Parameters:
session: - used to obtain the servername and username
appName: - used to find an applicaton log, null if we are parsing a server (agent) log
dateStamp: - start date for the parsing in milliseconds
Returns:
returns a logId number if successful, returns a -1 if failed

getLogInfo

public static LogAnalyzerInfo getLogInfo(java.lang.String server,
                                         java.lang.String app)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

deleteLogDetails

public static boolean deleteLogDetails(int logId)

getLogAnalyzerFile

public static java.io.File getLogAnalyzerFile(int logId,
                                              LogAnalyzerFilter filter)

getUserNames

public static java.util.List getUserNames(int logId)

getDatabaseNames

public static java.util.List getDatabaseNames(int logId,
                                              java.lang.String appname)

getMessageNumbers

public static java.util.List getMessageNumbers(int logId)

getAppNames

public static java.util.List getAppNames(int logId)

getChartData

public static RandomAccessFileTableModel getChartData(int logId,
                                                      LogAnalyzerFilter filter)

getFilters

public static LogAnalyzerFilter[] getFilters(int logId)

saveFilters

public static boolean saveFilters(int logId,
                                  LogAnalyzerFilter[] filters)

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.