Package org.glassfish.admin.amx.logging
Interface LogQueryEntry
-
- All Known Implementing Classes:
LogQueryEntryImpl
@Taxonomy(stability=EXPERIMENTAL) public interface LogQueryEntryAn individual result representing a log entry found byLogQuery.queryServerLog(java.lang.String, long, boolean, int, java.lang.Long, java.lang.Long, java.lang.String, java.util.Set<java.lang.String>, java.util.List<javax.management.Attribute>, java.lang.String).- Since:
- AS 9.0
- See Also:
LogQueryResult
-
-
Field Summary
Fields Modifier and Type Field Description static StringOBJECT_NAME_KEYKey for the ObjectName within the Map returned bygetNameValuePairsMap().static StringTHREAD_ID_KEYKey for the thread ID within the Map returned bygetNameValuePairsMap().
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DategetDate()The Date that the log entry was emitted.Object[]getFields()Get the fields associated with this entry.StringgetLevel()The Level of the entry.StringgetMessage()The free-form message.StringgetMessageID()The unique message ID identifying the entry.StringgetModule()The module or Logger that emitted the entry.StringgetNameValuePairs()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 bygetNameValuePairs().StringgetProductName()The name of the product.longgetRecordNumber()The record number within the log file (first one is 0).StringgetThreadID()The ID of the thread that emitted the entry (may be null).
-
-
-
Field Detail
-
THREAD_ID_KEY
static final String THREAD_ID_KEY
Key for the thread ID within the Map returned bygetNameValuePairsMap(). Value is of type java.lang.String.- See Also:
- Constant Field Values
-
OBJECT_NAME_KEY
static final String OBJECT_NAME_KEY
Key for the ObjectName within the Map returned bygetNameValuePairsMap(). Value is of type javax.management.ObjectName.- See Also:
- Constant Field Values
-
-
Method Detail
-
getFields
Object[] getFields()
Get the fields associated with this entry. The fields are indexed by the values found inLogRecordFields. A field is always non-null.
-
getRecordNumber
long getRecordNumber()
The record number within the log file (first one is 0).
-
getProductName
String getProductName()
The name of the product.
-
getDate
Date getDate()
The Date that the log entry was emitted.
-
getModule
String getModule()
The module or Logger that emitted the entry.
-
getLevel
String getLevel()
The Level of the entry.
-
getMessageID
String getMessageID()
The unique message ID identifying the entry.
-
getMessage
String getMessage()
The free-form message.
-
getNameValuePairsMap
Map<String,String> getNameValuePairsMap()
A Map containing name/value pairs as parsed from the String given bygetNameValuePairs(). Values which are available for public use are:
-
getNameValuePairs
String getNameValuePairs()
The raw name/value pair String for this log entry. Each pair is separated by the ';' character.
-
getThreadID
String getThreadID()
The ID of the thread that emitted the entry (may be null).
-
-