FileDocCategorySizeDatePackage
LogQueryEntry.javaAPI DocGlassfish v2 API4271Fri May 04 22:30:50 BST 2007com.sun.appserv.management.ext.logging

LogQueryEntry

public interface LogQueryEntry
An individual result representing a log entry found by {@link LogQuery#queryServerLog}.
since
AS 9.0
see
LogQueryResult

Fields Summary
public static final String
THREAD_ID_KEY
Key for the thread ID within the Map returned by {@link #getNameValuePairsMap}. Value is of type java.lang.String.
public static final String
OBJECT_NAME_KEY
Key for the ObjectName within the Map returned by {@link #getNameValuePairsMap}. Value is of type javax.management.ObjectName.
Constructors Summary
Methods Summary
public java.util.DategetDate()
The Date that the log entry was emitted.

public java.lang.Object[]getFields()
Get the fields associated with this entry. The fields are indexed by the values found in {@link LogRecordFields}. A field is always non-null.

public java.lang.StringgetLevel()
The Level of the entry.

public java.lang.StringgetMessage()
The free-form message.

public java.lang.StringgetMessageID()
The unique message ID identifying the entry.

public java.lang.StringgetModule()
The module or Logger that emitted the entry.

public java.lang.StringgetNameValuePairs()
The raw name/value pair String for this log entry. Each pair is separated by the ';' character.

public java.util.MapgetNameValuePairsMap()
A Map containing name/value pairs as parsed from the String given by {@link #getNameValuePairs}. Values which are available for public use are:
  • {@link #THREAD_ID_KEY}
  • {@link #OBJECT_NAME_KEY}

public java.lang.StringgetProductName()
The name of the product.

public longgetRecordNumber()
The record number within the log file (first one is 0).

public java.lang.StringgetThreadID()
The ID of the thread that emitted the entry (may be null).