|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.appserv.management.ext.logging.LogQueryEntryImpl
public final class LogQueryEntryImpl
INTERNAL USE ONLY--not part of the API
| Field Summary |
|---|
| Fields inherited from interface com.sun.appserv.management.ext.logging.LogQueryEntry |
|---|
OBJECT_NAME_KEY, THREAD_ID_KEY |
| Constructor Summary | |
|---|---|
LogQueryEntryImpl(long recordNumber,
Date date,
String level,
String productName,
String message,
String messageID,
String module,
String nameValuePairs)
|
|
LogQueryEntryImpl(Object[] values)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object rhs)
|
Date |
getDate()
The Date that the log entry was emitted. |
Object[] |
getFields()
Get the fields associated with this entry. |
String |
getLevel()
The Level of the entry. |
String |
getMessage()
The free-form message. |
String |
getMessageID()
The unique message ID identifying the entry. |
String |
getModule()
The module or Logger that emitted the entry. |
String |
getNameValuePairs()
The raw name/value pair String for this log entry. |
Map<String,String> |
getNameValuePairsMap()
A Map containing name/value pairs as parsed from the String given by LogQueryEntry.getNameValuePairs(). |
String |
getObjectName()
|
String |
getProductName()
The name of the product. |
long |
getRecordNumber()
The record number within the log file (first one is 0). |
String |
getThreadID()
The ID of the thread that emitted the entry (may be null). |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LogQueryEntryImpl(long recordNumber,
Date date,
String level,
String productName,
String message,
String messageID,
String module,
String nameValuePairs)
public LogQueryEntryImpl(Object[] values)
| Method Detail |
|---|
public Object[] getFields()
LogQueryEntryLogRecordFields. A field is always non-null.
getFields in interface LogQueryEntrypublic long getRecordNumber()
LogQueryEntry
getRecordNumber in interface LogQueryEntrypublic Date getDate()
LogQueryEntry
getDate in interface LogQueryEntrypublic String getModule()
LogQueryEntry
getModule in interface LogQueryEntrypublic String getLevel()
LogQueryEntry
getLevel in interface LogQueryEntrypublic String getProductName()
LogQueryEntry
getProductName in interface LogQueryEntrypublic String getMessage()
LogQueryEntry
getMessage in interface LogQueryEntrypublic String getMessageID()
LogQueryEntry
getMessageID in interface LogQueryEntrypublic String getNameValuePairs()
LogQueryEntry
getNameValuePairs in interface LogQueryEntrypublic Map<String,String> getNameValuePairsMap()
LogQueryEntryLogQueryEntry.getNameValuePairs().
Values which are available for public use are:
getNameValuePairsMap in interface LogQueryEntrypublic String getThreadID()
LogQueryEntry
getThreadID in interface LogQueryEntrypublic String getObjectName()
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object rhs)
equals in class Object
|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved.