|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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()
LogQueryEntry
LogRecordFields
. A field is always non-null.
getFields
in interface LogQueryEntry
public long getRecordNumber()
LogQueryEntry
getRecordNumber
in interface LogQueryEntry
public Date getDate()
LogQueryEntry
getDate
in interface LogQueryEntry
public String getModule()
LogQueryEntry
getModule
in interface LogQueryEntry
public String getLevel()
LogQueryEntry
getLevel
in interface LogQueryEntry
public String getProductName()
LogQueryEntry
getProductName
in interface LogQueryEntry
public String getMessage()
LogQueryEntry
getMessage
in interface LogQueryEntry
public String getMessageID()
LogQueryEntry
getMessageID
in interface LogQueryEntry
public String getNameValuePairs()
LogQueryEntry
getNameValuePairs
in interface LogQueryEntry
public Map<String,String> getNameValuePairsMap()
LogQueryEntry
LogQueryEntry.getNameValuePairs()
.
Values which are available for public use are:
getNameValuePairsMap
in interface LogQueryEntry
public String getThreadID()
LogQueryEntry
getThreadID
in interface LogQueryEntry
public String getObjectName()
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public 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.