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
,ThreadStackQuery
,TopComponentsReportQuery
,TopConsumers2Query
,TopConsumersQuery
,UnreachableObjectsQuery
,WasteInCharArraysQuery
,WeakReferenceStatQuery
public interface IQuery
Interface representing a query on the heap dump. Arguments can be injected into the query using public fields marked with theArgument
annotation. Typical arguments for aSnapshotQuery
areISnapshot
IHeapObjectArgument
- some heap objectsIContextObject
IContextObjectSet
IObject
- 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.DIRECTORY
orArgument.Advice.SAVE
. - enum - an enum
org.eclipse.mat.report.query
extension point.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IResult
execute(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 java.lang.Exception
The execute method is called after all arguments have been injected into the query instance. Typical results areTextResult
,CompositeResult
,SectionSpec
etc.- Parameters:
listener
- Monitor to report progress and check for cancellation.- Returns:
- The result of the query.
- Throws:
java.lang.Exception
- if something went wrong running the query
-
-