Package org.glassfish.admin.amx.logging
Class LogQueryEntryImpl
- java.lang.Object
-
- org.glassfish.admin.amx.logging.LogQueryEntryImpl
-
- All Implemented Interfaces:
LogQueryEntry
@Taxonomy(stability=EXPERIMENTAL) public final class LogQueryEntryImpl extends Object implements LogQueryEntry
INTERNAL USE ONLY--not part of the API- Since:
- AS 9.0
-
-
Field Summary
-
Fields inherited from interface org.glassfish.admin.amx.logging.LogQueryEntry
OBJECT_NAME_KEY, THREAD_ID_KEY
-
-
Constructor Summary
Constructors Constructor Description LogQueryEntryImpl(long recordNumber, Date date, String level, String productName, String module, String nameValuePairs, String messageID, String message)LogQueryEntryImpl(Object[] values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object rhs)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 byLogQueryEntry.getNameValuePairs().StringgetObjectName()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).inthashCode()StringtoString()
-
-
-
Method Detail
-
getFields
public Object[] getFields()
Description copied from interface:LogQueryEntryGet the fields associated with this entry. The fields are indexed by the values found inLogRecordFields. A field is always non-null.- Specified by:
getFieldsin interfaceLogQueryEntry
-
getRecordNumber
public long getRecordNumber()
Description copied from interface:LogQueryEntryThe record number within the log file (first one is 0).- Specified by:
getRecordNumberin interfaceLogQueryEntry
-
getDate
public Date getDate()
Description copied from interface:LogQueryEntryThe Date that the log entry was emitted.- Specified by:
getDatein interfaceLogQueryEntry
-
getModule
public String getModule()
Description copied from interface:LogQueryEntryThe module or Logger that emitted the entry.- Specified by:
getModulein interfaceLogQueryEntry
-
getLevel
public String getLevel()
Description copied from interface:LogQueryEntryThe Level of the entry.- Specified by:
getLevelin interfaceLogQueryEntry
-
getProductName
public String getProductName()
Description copied from interface:LogQueryEntryThe name of the product.- Specified by:
getProductNamein interfaceLogQueryEntry
-
getMessage
public String getMessage()
Description copied from interface:LogQueryEntryThe free-form message.- Specified by:
getMessagein interfaceLogQueryEntry
-
getMessageID
public String getMessageID()
Description copied from interface:LogQueryEntryThe unique message ID identifying the entry.- Specified by:
getMessageIDin interfaceLogQueryEntry
-
getNameValuePairs
public String getNameValuePairs()
Description copied from interface:LogQueryEntryThe raw name/value pair String for this log entry. Each pair is separated by the ';' character.- Specified by:
getNameValuePairsin interfaceLogQueryEntry
-
getNameValuePairsMap
public Map<String,String> getNameValuePairsMap()
Description copied from interface:LogQueryEntryA Map containing name/value pairs as parsed from the String given byLogQueryEntry.getNameValuePairs(). Values which are available for public use are:- Specified by:
getNameValuePairsMapin interfaceLogQueryEntry
-
getThreadID
public String getThreadID()
Description copied from interface:LogQueryEntryThe ID of the thread that emitted the entry (may be null).- Specified by:
getThreadIDin interfaceLogQueryEntry
-
getObjectName
public String getObjectName()
-
-