public static final class FaultLogger.FaultLogQueryResult extends Object
You must destroy the query result when you are done using it.
| 构造器 | 说明 |
|---|---|
FaultLogQueryResult() |
A constructor used to create a
FaultLogQueryResult instance. |
public FaultLogQueryResult()
FaultLogQueryResult instance.public boolean hasNext()
true if the next fault record is available; returns false otherwise.public Optional<FaultLogger.FaultLogInfo> next()
null otherwise.FaultLogger.FaultLogInfopublic void destroy()
After all fault records are obtained, you must call this method to release the resources of the current process and the server because only one active query result is allowed for each application at a time.