|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LogQuerySupportMBean
An MBean for querying log events which has a serialized API and a simple JSON API to avoid serialization issues
| Method Summary | |
|---|---|
LogResults |
allLogResults()
Returns all the available recent log events as a LogResults object which is then serialized |
java.lang.String |
filterLogEvents(java.lang.String jsonFiler)
Filters the list of log events using the JSON encoding of LogFilter |
java.lang.String |
getJavaDoc(java.lang.String mavenCoordinates,
java.lang.String filePath)
Returns the javadoc file for the given maven coordinates and filePath |
java.lang.String |
getLogEvents(int count)
Returns the recent log events as JSON |
LogResults |
getLogResults(int count)
Returns the recent log events as a LogResults object which is then serialized |
java.lang.String |
getSource(java.lang.String mavenCoordinates,
java.lang.String className,
java.lang.String filePath)
Returns the source file for the given maven coordinates so that we can link log messages to source code |
LogResults |
jsonQueryLogResults(java.lang.String jsonFilter)
Allows a JSON filter to be specified then returns the log results as a serialised object |
LogResults |
logResultsSince(long time)
Returns all the available log events since the given timestamp (millis) |
LogResults |
queryLogResults(LogFilter filter)
Queries the log results using the given filter |
| Method Detail |
|---|
LogResults allLogResults()
throws java.io.IOException
LogResults object which is then serialized
java.io.IOException
LogResults logResultsSince(long time)
throws java.io.IOException
java.io.IOException
LogResults getLogResults(int count)
throws java.io.IOException
LogResults object which is then serialized
count - maximum number to return o <0 for all of them
java.io.IOExceptionLogResults queryLogResults(LogFilter filter)
filter - the filter to apply to the logs
java.lang.String getSource(java.lang.String mavenCoordinates,
java.lang.String className,
java.lang.String filePath)
throws java.io.IOException
mavenCoordinates - is a string of the form "groupId:artifactId:version".
For some uber bundles this can be a space separated list.
java.io.IOException
java.lang.String getJavaDoc(java.lang.String mavenCoordinates,
java.lang.String filePath)
throws java.io.IOException
mavenCoordinates - is a string of the form "groupId:artifactId:version".
For some uber bundles this can be a space separated list.
java.io.IOException
java.lang.String getLogEvents(int count)
throws java.io.IOException
count - maximum number to return o <0 for all of them
LogEvent
java.io.IOException
java.lang.String filterLogEvents(java.lang.String jsonFiler)
throws java.io.IOException
LogFilter
LogEvent
java.io.IOException
LogResults jsonQueryLogResults(java.lang.String jsonFilter)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||