Package org.glassfish.admin.amx.logging
Interface LogQueryEntry
-
- All Known Implementing Classes:
LogQueryEntryImpl
@Taxonomy(stability=EXPERIMENTAL) public interface LogQueryEntry
An 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 String
OBJECT_NAME_KEY
Key for the ObjectName within the Map returned bygetNameValuePairsMap()
.static String
THREAD_ID_KEY
Key for the thread ID within the Map returned bygetNameValuePairsMap()
.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 bygetNameValuePairs()
.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).
-
-
-
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).
-
-