Package org.glassfish.admin.amx.logging
Interface LogQueryResult
-
- All Known Implementing Classes:
LogQueryResultImpl
@Taxonomy(stability=EXPERIMENTAL) public interface LogQueryResult
Interface which can be applied over the CompositeData returned fromLogQuery.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:
LogQueryEntry
,LogQuery
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LogQueryEntry[]
getEntries()
Return all log entries found by the query not including the field headers.String[]
getFieldNames()
Get field names for each field of aLogQueryEntry
.
-
-
-
Method Detail
-
getFieldNames
String[] getFieldNames()
Get field names for each field of aLogQueryEntry
. Log entries in the server log file are of the form:
[#|DATE|LEVEL|PRODUCT_NAME|MODULE|NAME_VALUE_PAIRS|MESSAGE|#]
The metadata contains most of these fields, but does contain the PRODUCT_NAME or '#' columns.
-
getEntries
LogQueryEntry[] getEntries()
Return all log entries found by the query not including the field headers.
-
-