Package org.eclipse.mat.query
Interface IQuery
-
- All Known Implementing Classes:
ArrayFillRatioQuery,ArraysBySizeQuery,BigDropsQuery,BiggestObjectsPieQuery,BundleRegistryQuery,ClassLoaderExplorerQuery,ClassReferrersQuery,CollectionFillRatioQuery,CollectionsBySizeQuery,CompareTablesQuery,ComparisonReport,ComponentReportQuery,CopyActions,CopyActions.Address,CopyActions.FQClassName,CopyActions.Value,CopyOQL,CustomizedRetainedSetQuery,DeltaHistogram,DominatorQuery,DuplicatedClassesQuery,ExportHprof,ExtractListValuesQuery,FinalizerInProcessingQuery,FinalizerQuery,FinalizerQueueQuery,FinalizerReferenceStatQuery,FinalizerThreadLocalsQuery,FinalizerThreadQuery,FindLeaksQuery,FindLeaksQuery2,FindStringsQuery,GCRootsQuery,GroupByValueQuery,HashEntriesQuery,HashSetValuesQuery,HeapDumpInfoQuery,HistogramQuery,ImmediateDominatorsQuery,LeakHunterQuery,LeakHunterQuery2,LeakingPlugins,MapCollisionRatioQuery,MultiplePath2GCRootsQuery,ObjectListQuery,OpenSourceFileQuery,OQLQuery,Path2GCRootsQuery,PhantomReferenceStatQuery,PrimitiveArraysWithAConstantValueQuery,ReferenceLeakQuery,ReferenceQuery,RetainedSetQuery,RunExternalTest,RunRegisterdReport,SaveValueAsQuery,ShowInDominatorQuery,SimpleComparison,SoftReferenceStatQuery,SystemPropertiesQuery,ThreadInfoQuery,ThreadOverviewQuery,TopComponentsReportQuery,TopConsumers2Query,TopConsumersQuery,UnreachableObjectsQuery,WasteInCharArraysQuery,WeakReferenceStatQuery
public interface IQueryInterface representing a query on the heap dump. Arguments can be injected into the query using public fields marked with theArgumentannotation. Typical arguments for aSnapshotQueryareISnapshotIHeapObjectArgument- some heap objectsIContextObjectIContextObjectSetIObject- a object from the heap- int or int[] tagged with
Argument.Advice.HEAP_OBJECT. ArrayInt- list of object ids- a type returned by
ISnapshot.getSnapshotAddons(Class)
Pattern- boolean flags
- int parm
- File file optionally tagged with tagged with
Argument.Advice.DIRECTORYorArgument.Advice.SAVE. - enum - an enum
org.eclipse.mat.report.queryextension point.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IResultexecute(IProgressListener listener)The execute method is called after all arguments have been injected into the query instance.
-
-
-
Method Detail
-
execute
IResult execute(IProgressListener listener) throws Exception
The execute method is called after all arguments have been injected into the query instance. Typical results areTextResult,CompositeResult,SectionSpecetc.- Parameters:
listener- Monitor to report progress and check for cancellation.- Returns:
- The result of the query.
- Throws:
Exception- if something went wrong running the query
-
-